Uses of Interface
com.rabbitmq.client.Channel
-
Packages that use Channel Package Description com.rabbitmq.client The client API proper: classes and interfaces representing the AMQP connections, channels, and wire-protocol framing descriptors.com.rabbitmq.client.impl Implementations of interfaces specified in the client API, and their supporting classes.com.rabbitmq.client.impl.recovery Implementation of connection and topology recovery.com.rabbitmq.tools.jsonrpc JSON-RPC client and server classes for supporting JSON-RPC over an AMQP transport. -
-
Uses of Channel in com.rabbitmq.client
Subinterfaces of Channel in com.rabbitmq.client Modifier and Type Interface Description interfaceRecoverableChannelConvenient interface when working against auto-recovery channels.Fields in com.rabbitmq.client declared as Channel Modifier and Type Field Description private ChannelDefaultConsumer. _channelChannel that this consumer is associated with.private ChannelRpcClient. _channelChannel we are communicating onprivate ChannelRpcServer. _channelChannel we are communicating onprivate ChannelRpcClientParams. channelChannel we are communicating onMethods in com.rabbitmq.client that return Channel Modifier and Type Method Description ChannelConnection. createChannel()Create a new channel, using an internally allocated channel number.ChannelConnection. createChannel(int channelNumber)Create a new channel, using the specified channel number if possible.ChannelDefaultConsumer. getChannel()Retrieve the channel.ChannelRpcClient. getChannel()Retrieve the channel.ChannelRpcClientParams. getChannel()Set the channel to use for communication.ChannelRpcServer. getChannel()Retrieve the channel.Methods in com.rabbitmq.client that return types with arguments of type Channel Modifier and Type Method Description default java.util.Optional<Channel>Connection. openChannel()Create a new channel wrapped in anOptional.default java.util.Optional<Channel>Connection. openChannel(int channelNumber)Create a new channel, using the specified channel number if possible.Methods in com.rabbitmq.client with parameters of type Channel Modifier and Type Method Description voidMetricsCollector. basicAck(Channel channel, long deliveryTag, boolean multiple)voidNoOpMetricsCollector. basicAck(Channel channel, long deliveryTag, boolean multiple)voidMetricsCollector. basicCancel(Channel channel, java.lang.String consumerTag)voidNoOpMetricsCollector. basicCancel(Channel channel, java.lang.String consumerTag)voidMetricsCollector. basicConsume(Channel channel, java.lang.String consumerTag, boolean autoAck)voidNoOpMetricsCollector. basicConsume(Channel channel, java.lang.String consumerTag, boolean autoAck)voidMetricsCollector. basicNack(Channel channel, long deliveryTag)voidNoOpMetricsCollector. basicNack(Channel channel, long deliveryTag)voidMetricsCollector. basicPublish(Channel channel)voidNoOpMetricsCollector. basicPublish(Channel channel)default voidMetricsCollector. basicPublishAck(Channel channel, long deliveryTag, boolean multiple)voidNoOpMetricsCollector. basicPublishAck(Channel channel, long deliveryTag, boolean multiple)default voidMetricsCollector. basicPublishFailure(Channel channel, java.lang.Throwable cause)voidNoOpMetricsCollector. basicPublishFailure(Channel channel, java.lang.Throwable cause)default voidMetricsCollector. basicPublishNack(Channel channel, long deliveryTag, boolean multiple)voidNoOpMetricsCollector. basicPublishNack(Channel channel, long deliveryTag, boolean multiple)default voidMetricsCollector. basicPublishUnrouted(Channel channel)voidNoOpMetricsCollector. basicPublishUnrouted(Channel channel)voidMetricsCollector. basicReject(Channel channel, long deliveryTag)voidNoOpMetricsCollector. basicReject(Channel channel, long deliveryTag)RpcClientParamsRpcClientParams. channel(Channel channel)voidMetricsCollector. closeChannel(Channel channel)voidNoOpMetricsCollector. closeChannel(Channel channel)voidMetricsCollector. consumedMessage(Channel channel, long deliveryTag, boolean autoAck)voidMetricsCollector. consumedMessage(Channel channel, long deliveryTag, java.lang.String consumerTag)voidNoOpMetricsCollector. consumedMessage(Channel channel, long deliveryTag, boolean autoAck)voidNoOpMetricsCollector. consumedMessage(Channel channel, long deliveryTag, java.lang.String consumerTag)voidExceptionHandler. handleChannelRecoveryException(Channel ch, java.lang.Throwable exception)Perform any required exception processing for the situation when the driver thread for the connection has an exception during channel recovery that it can't otherwise deal with.voidExceptionHandler. handleConfirmListenerException(Channel channel, java.lang.Throwable exception)Perform any required exception processing for the situation when the driver thread for the connection has called a ConfirmListener's handleAck or handleNack method, and that method has thrown an exception.voidExceptionHandler. handleConsumerException(Channel channel, java.lang.Throwable exception, Consumer consumer, java.lang.String consumerTag, java.lang.String methodName)Perform any required exception processing for the situation when the driver thread for the connection has called a method on a Consumer, and that method has thrown an exception.voidExceptionHandler. handleReturnListenerException(Channel channel, java.lang.Throwable exception)Perform any required exception processing for the situation when the driver thread for the connection has called a ReturnListener's handleReturn method, and that method has thrown an exception.voidExceptionHandler. handleTopologyRecoveryException(Connection conn, Channel ch, TopologyRecoveryException exception)Perform any required exception processing for the situation when the driver thread for the connection has an exception during topology (exchanges, queues, bindings, consumers) recovery that it can't otherwise deal with.voidMetricsCollector. newChannel(Channel channel)voidNoOpMetricsCollector. newChannel(Channel channel)Constructors in com.rabbitmq.client with parameters of type Channel Constructor Description DefaultConsumer(Channel channel)Constructs a new instance and records its association to the passed-in channel.DefaultRpcConsumer(Channel ch)DefaultRpcConsumer(Channel ch, java.util.concurrent.BlockingQueue<Delivery> q)MapRpcServer(Channel channel)MapRpcServer(Channel channel, java.lang.String queueName)RpcClient(Channel channel, java.lang.String exchange, java.lang.String routingKey)Deprecated.useRpcClient(RpcClientParams)instead, will be removed in 6.0.0RpcClient(Channel channel, java.lang.String exchange, java.lang.String routingKey, int timeout)Deprecated.useRpcClient(RpcClientParams)instead, will be removed in 6.0.0RpcClient(Channel channel, java.lang.String exchange, java.lang.String routingKey, java.lang.String replyTo)Deprecated.useRpcClient(RpcClientParams)instead, will be removed in 6.0.0RpcClient(Channel channel, java.lang.String exchange, java.lang.String routingKey, java.lang.String replyTo, int timeout)Deprecated.useRpcClient(RpcClientParams)instead, will be removed in 6.0.0RpcServer(Channel channel)Creates an RpcServer listening on a temporary exclusive autodelete queue.RpcServer(Channel channel, java.lang.String queueName)If the passed-in queue name is null, creates a server-named temporary exclusive autodelete queue to use; otherwise expects the queue to have already been declared.StringRpcServer(Channel channel)StringRpcServer(Channel channel, java.lang.String queueName) -
Uses of Channel in com.rabbitmq.client.impl
Classes in com.rabbitmq.client.impl that implement Channel Modifier and Type Class Description classChannelNMain interface to AMQP protocol functionality.Fields in com.rabbitmq.client.impl declared as Channel Modifier and Type Field Description (package private) ChannelAbstractMetricsCollector.ChannelState. channelprivate ChannelConsumerDispatcher. channelFields in com.rabbitmq.client.impl with type parameters of type Channel Modifier and Type Field Description private WorkPool<Channel,java.lang.Runnable>ConsumerWorkService. workPoolMethods in com.rabbitmq.client.impl that return Channel Modifier and Type Method Description ChannelAMQConnection. createChannel()Public API - Create a new channel, using an internally allocated channel number.ChannelAMQConnection. createChannel(int channelNumber)Public API - Create a new channel, using the specified channel number if possible.Methods in com.rabbitmq.client.impl with parameters of type Channel Modifier and Type Method Description voidConsumerWorkService. addWork(Channel channel, java.lang.Runnable runnable)voidAbstractMetricsCollector. basicAck(Channel channel, long deliveryTag, boolean multiple)voidAbstractMetricsCollector. basicCancel(Channel channel, java.lang.String consumerTag)voidAbstractMetricsCollector. basicConsume(Channel channel, java.lang.String consumerTag, boolean autoAck)voidAbstractMetricsCollector. basicNack(Channel channel, long deliveryTag)voidAbstractMetricsCollector. basicPublish(Channel channel)voidAbstractMetricsCollector. basicPublishAck(Channel channel, long deliveryTag, boolean multiple)voidAbstractMetricsCollector. basicPublishFailure(Channel channel, java.lang.Throwable cause)voidAbstractMetricsCollector. basicPublishNack(Channel channel, long deliveryTag, boolean multiple)voidAbstractMetricsCollector. basicPublishUnrouted(Channel channel)voidAbstractMetricsCollector. basicReject(Channel channel, long deliveryTag)private AbstractMetricsCollector.ChannelStateAbstractMetricsCollector. channelState(Channel channel)voidAbstractMetricsCollector. closeChannel(Channel channel)voidAbstractMetricsCollector. consumedMessage(Channel channel, long deliveryTag, boolean autoAck)voidAbstractMetricsCollector. consumedMessage(Channel channel, long deliveryTag, java.lang.String consumerTag)protected abstract voidAbstractMetricsCollector. decrementChannelCount(Channel channel)Decrements channel count.protected voidForgivingExceptionHandler. handleChannelKiller(Channel channel, java.lang.Throwable exception, java.lang.String what)protected voidStrictExceptionHandler. handleChannelKiller(Channel channel, java.lang.Throwable exception, java.lang.String what)protected voidStrictExceptionHandler. handleChannelKiller(Channel channel, java.lang.Throwable exception, java.lang.String logMessage, java.lang.String closeMessage)voidForgivingExceptionHandler. handleChannelRecoveryException(Channel ch, java.lang.Throwable exception)voidForgivingExceptionHandler. handleConfirmListenerException(Channel channel, java.lang.Throwable exception)voidStrictExceptionHandler. handleConfirmListenerException(Channel channel, java.lang.Throwable exception)voidForgivingExceptionHandler. handleConsumerException(Channel channel, java.lang.Throwable exception, Consumer consumer, java.lang.String consumerTag, java.lang.String methodName)voidStrictExceptionHandler. handleConsumerException(Channel channel, java.lang.Throwable exception, Consumer consumer, java.lang.String consumerTag, java.lang.String methodName)voidForgivingExceptionHandler. handleReturnListenerException(Channel channel, java.lang.Throwable exception)voidStrictExceptionHandler. handleReturnListenerException(Channel channel, java.lang.Throwable exception)voidForgivingExceptionHandler. handleTopologyRecoveryException(Connection conn, Channel ch, TopologyRecoveryException exception)protected abstract voidAbstractMetricsCollector. incrementChannelCount(Channel channel)Increments channel count.voidAbstractMetricsCollector. newChannel(Channel channel)voidConsumerWorkService. registerKey(Channel channel)voidConsumerWorkService. setUnlimited(Channel channel, boolean unlimited)voidConsumerWorkService. stopWork(Channel channel)Stop executing all consumer work for a particular channelprivate voidAbstractMetricsCollector. updateChannelStateAfterAckReject(Channel channel, long deliveryTag, boolean multiple, java.lang.Runnable action)Constructors in com.rabbitmq.client.impl with parameters of type Channel Constructor Description ChannelState(Channel channel)ConsumerDispatcher(AMQConnection connection, Channel channel, ConsumerWorkService workService) -
Uses of Channel in com.rabbitmq.client.impl.recovery
Classes in com.rabbitmq.client.impl.recovery that implement Channel Modifier and Type Class Description classAutorecoveringChannelChannelimplementation that is automatically recovered during connection recovery.classRecoveryAwareChannelNChannelNmodification that keeps track of delivery tags and avoids sendingMethods in com.rabbitmq.client.impl.recovery that return Channel Modifier and Type Method Description ChannelAutorecoveringConnection. createChannel()ChannelAutorecoveringConnection. createChannel(int channelNumber)ChannelAutorecoveringChannel. getDelegate()ChannelRecordedEntity. getDelegateChannel()private ChannelAutorecoveringConnection. wrapChannel(RecoveryAwareChannelN delegateChannel)Creates a recovering channel from a regular channel and registers it. -
Uses of Channel in com.rabbitmq.tools.jsonrpc
Constructors in com.rabbitmq.tools.jsonrpc with parameters of type Channel Constructor Description JsonRpcClient(Channel channel, java.lang.String exchange, java.lang.String routingKey)JsonRpcClient(Channel channel, java.lang.String exchange, java.lang.String routingKey, int timeout)Construct a new JsonRpcClient, passing the parameters through to RpcClient's constructor.JsonRpcClient(Channel channel, java.lang.String exchange, java.lang.String routingKey, int timeout, JsonRpcMapper mapper)Construct a new JsonRpcClient, passing the parameters through to RpcClient's constructor.JsonRpcServer(Channel channel, java.lang.Class<?> interfaceClass, java.lang.Object interfaceInstance)Construct a server that talks to the outside world using the given channel, and constructs a fresh temporary queue.JsonRpcServer(Channel channel, java.lang.Class<?> interfaceClass, java.lang.Object interfaceInstance, JsonRpcMapper mapper)JsonRpcServer(Channel channel, java.lang.String queueName, java.lang.Class<?> interfaceClass, java.lang.Object interfaceInstance)Construct a server that talks to the outside world using the given channel and queue name.JsonRpcServer(Channel channel, java.lang.String queueName, java.lang.Class<?> interfaceClass, java.lang.Object interfaceInstance, JsonRpcMapper mapper)
-