public class MuleAmqpChannel extends Object implements com.rabbitmq.client.Channel
| Constructor and Description |
|---|
MuleAmqpChannel(com.rabbitmq.client.Channel channel,
boolean inTransaction) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
abort(int closeCode,
String closeMessage) |
com.rabbitmq.client.ConfirmListener |
addConfirmListener(com.rabbitmq.client.ConfirmCallback ackCallback,
com.rabbitmq.client.ConfirmCallback nackCallback) |
void |
addConfirmListener(com.rabbitmq.client.ConfirmListener listener) |
com.rabbitmq.client.ReturnListener |
addReturnListener(com.rabbitmq.client.ReturnCallback returnCallback) |
void |
addReturnListener(com.rabbitmq.client.ReturnListener listener) |
void |
addShutdownListener(com.rabbitmq.client.ShutdownListener listener) |
CompletableFuture<com.rabbitmq.client.Command> |
asyncCompletableRpc(com.rabbitmq.client.Method method) |
void |
asyncRpc(com.rabbitmq.client.Method method) |
void |
basicAck(long deliveryTag,
boolean multiple) |
void |
basicCancel(String consumerTag) |
String |
basicConsume(String queue,
boolean autoAck,
com.rabbitmq.client.Consumer callback) |
String |
basicConsume(String queue,
boolean autoAck,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback) |
String |
basicConsume(String queue,
boolean autoAck,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
boolean autoAck,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
boolean autoAck,
Map<String,Object> arguments,
com.rabbitmq.client.Consumer callback) |
String |
basicConsume(String queue,
boolean autoAck,
Map<String,Object> arguments,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback) |
String |
basicConsume(String queue,
boolean autoAck,
Map<String,Object> arguments,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
boolean autoAck,
Map<String,Object> arguments,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
boolean autoAck,
String consumerTag,
boolean noLocal,
boolean exclusive,
Map<String,Object> arguments,
com.rabbitmq.client.Consumer callback) |
String |
basicConsume(String queue,
boolean autoAck,
String consumerTag,
boolean noLocal,
boolean exclusive,
Map<String,Object> arguments,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback) |
String |
basicConsume(String queue,
boolean autoAck,
String consumerTag,
boolean noLocal,
boolean exclusive,
Map<String,Object> arguments,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
boolean autoAck,
String consumerTag,
boolean noLocal,
boolean exclusive,
Map<String,Object> arguments,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
boolean autoAck,
String consumerTag,
com.rabbitmq.client.Consumer callback) |
String |
basicConsume(String queue,
boolean autoAck,
String consumerTag,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback) |
String |
basicConsume(String queue,
boolean autoAck,
String consumerTag,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
boolean autoAck,
String consumerTag,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
com.rabbitmq.client.Consumer callback) |
String |
basicConsume(String queue,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback) |
String |
basicConsume(String queue,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.CancelCallback cancelCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
String |
basicConsume(String queue,
com.rabbitmq.client.DeliverCallback deliverCallback,
com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) |
com.rabbitmq.client.GetResponse |
basicGet(String queue,
boolean autoAck) |
void |
basicNack(long deliveryTag,
boolean multiple,
boolean requeue) |
void |
basicPublish(String exchange,
String routingKey,
com.rabbitmq.client.AMQP.BasicProperties props,
byte[] body) |
void |
basicPublish(String exchange,
String routingKey,
boolean mandatory,
com.rabbitmq.client.AMQP.BasicProperties props,
byte[] body) |
void |
basicPublish(String exchange,
String routingKey,
boolean mandatory,
boolean immediate,
com.rabbitmq.client.AMQP.BasicProperties props,
byte[] body) |
void |
basicQos(int prefetchCount) |
void |
basicQos(int prefetchCount,
boolean global) |
void |
basicQos(int prefetchSize,
int prefetchCount,
boolean global) |
com.rabbitmq.client.AMQP.Basic.RecoverOk |
basicRecover() |
com.rabbitmq.client.AMQP.Basic.RecoverOk |
basicRecover(boolean requeue) |
void |
basicReject(long deliveryTag,
boolean requeue) |
void |
clearConfirmListeners() |
void |
clearReturnListeners() |
void |
close() |
void |
close(int closeCode,
String closeMessage) |
com.rabbitmq.client.AMQP.Confirm.SelectOk |
confirmSelect() |
long |
consumerCount(String queue) |
com.rabbitmq.client.AMQP.Exchange.BindOk |
exchangeBind(String destination,
String source,
String routingKey) |
com.rabbitmq.client.AMQP.Exchange.BindOk |
exchangeBind(String destination,
String source,
String routingKey,
Map<String,Object> arguments) |
void |
exchangeBindNoWait(String destination,
String source,
String routingKey,
Map<String,Object> arguments) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclare(String exchange,
com.rabbitmq.client.BuiltinExchangeType type) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclare(String exchange,
com.rabbitmq.client.BuiltinExchangeType type,
boolean durable) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclare(String exchange,
com.rabbitmq.client.BuiltinExchangeType type,
boolean durable,
boolean autoDelete,
boolean internal,
Map<String,Object> arguments) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclare(String exchange,
com.rabbitmq.client.BuiltinExchangeType type,
boolean durable,
boolean autoDelete,
Map<String,Object> arguments) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclare(String exchange,
String type) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclare(String exchange,
String type,
boolean durable) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
boolean internal,
Map<String,Object> arguments) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclare(String exchange,
String type,
boolean durable,
boolean autoDelete,
Map<String,Object> arguments) |
void |
exchangeDeclareNoWait(String exchange,
com.rabbitmq.client.BuiltinExchangeType type,
boolean durable,
boolean autoDelete,
boolean internal,
Map<String,Object> arguments) |
void |
exchangeDeclareNoWait(String exchange,
String type,
boolean durable,
boolean autoDelete,
boolean internal,
Map<String,Object> arguments) |
com.rabbitmq.client.AMQP.Exchange.DeclareOk |
exchangeDeclarePassive(String name) |
com.rabbitmq.client.AMQP.Exchange.DeleteOk |
exchangeDelete(String exchange) |
com.rabbitmq.client.AMQP.Exchange.DeleteOk |
exchangeDelete(String exchange,
boolean ifUnused) |
void |
exchangeDeleteNoWait(String exchange,
boolean ifUnused) |
com.rabbitmq.client.AMQP.Exchange.UnbindOk |
exchangeUnbind(String destination,
String source,
String routingKey) |
com.rabbitmq.client.AMQP.Exchange.UnbindOk |
exchangeUnbind(String destination,
String source,
String routingKey,
Map<String,Object> arguments) |
void |
exchangeUnbindNoWait(String destination,
String source,
String routingKey,
Map<String,Object> arguments) |
int |
getChannelNumber() |
com.rabbitmq.client.ShutdownSignalException |
getCloseReason() |
com.rabbitmq.client.Connection |
getConnection() |
com.rabbitmq.client.Consumer |
getDefaultConsumer() |
long |
getNextPublishSeqNo() |
boolean |
isInTransaction() |
boolean |
isOpen() |
long |
messageCount(String queue) |
void |
notifyListeners() |
com.rabbitmq.client.AMQP.Queue.BindOk |
queueBind(String queue,
String exchange,
String routingKey) |
com.rabbitmq.client.AMQP.Queue.BindOk |
queueBind(String queue,
String exchange,
String routingKey,
Map<String,Object> arguments) |
void |
queueBindNoWait(String queue,
String exchange,
String routingKey,
Map<String,Object> arguments) |
com.rabbitmq.client.AMQP.Queue.DeclareOk |
queueDeclare() |
com.rabbitmq.client.AMQP.Queue.DeclareOk |
queueDeclare(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
Map<String,Object> arguments) |
void |
queueDeclareNoWait(String queue,
boolean durable,
boolean exclusive,
boolean autoDelete,
Map<String,Object> arguments) |
com.rabbitmq.client.AMQP.Queue.DeclareOk |
queueDeclarePassive(String queue) |
com.rabbitmq.client.AMQP.Queue.DeleteOk |
queueDelete(String queue) |
com.rabbitmq.client.AMQP.Queue.DeleteOk |
queueDelete(String queue,
boolean ifUnused,
boolean ifEmpty) |
void |
queueDeleteNoWait(String queue,
boolean ifUnused,
boolean ifEmpty) |
com.rabbitmq.client.AMQP.Queue.PurgeOk |
queuePurge(String queue) |
com.rabbitmq.client.AMQP.Queue.UnbindOk |
queueUnbind(String queue,
String exchange,
String routingKey) |
com.rabbitmq.client.AMQP.Queue.UnbindOk |
queueUnbind(String queue,
String exchange,
String routingKey,
Map<String,Object> arguments) |
boolean |
removeConfirmListener(com.rabbitmq.client.ConfirmListener listener) |
boolean |
removeReturnListener(com.rabbitmq.client.ReturnListener listener) |
void |
removeShutdownListener(com.rabbitmq.client.ShutdownListener listener) |
com.rabbitmq.client.Command |
rpc(com.rabbitmq.client.Method method) |
void |
setDefaultConsumer(com.rabbitmq.client.Consumer consumer) |
com.rabbitmq.client.AMQP.Tx.CommitOk |
txCommit() |
com.rabbitmq.client.AMQP.Tx.RollbackOk |
txRollback() |
com.rabbitmq.client.AMQP.Tx.SelectOk |
txSelect() |
boolean |
waitForConfirms() |
boolean |
waitForConfirms(long timeout) |
void |
waitForConfirmsOrDie() |
void |
waitForConfirmsOrDie(long timeout) |
public MuleAmqpChannel(com.rabbitmq.client.Channel channel,
boolean inTransaction)
public boolean isInTransaction()
public void addShutdownListener(com.rabbitmq.client.ShutdownListener listener)
addShutdownListener in interface com.rabbitmq.client.ShutdownNotifierpublic void removeShutdownListener(com.rabbitmq.client.ShutdownListener listener)
removeShutdownListener in interface com.rabbitmq.client.ShutdownNotifierpublic com.rabbitmq.client.ShutdownSignalException getCloseReason()
getCloseReason in interface com.rabbitmq.client.ShutdownNotifierpublic void notifyListeners()
notifyListeners in interface com.rabbitmq.client.ShutdownNotifierpublic boolean isOpen()
isOpen in interface com.rabbitmq.client.ShutdownNotifierpublic int getChannelNumber()
getChannelNumber in interface com.rabbitmq.client.Channelpublic com.rabbitmq.client.Connection getConnection()
getConnection in interface com.rabbitmq.client.Channelpublic void close()
throws IOException,
TimeoutException
close in interface com.rabbitmq.client.Channelclose in interface AutoCloseableIOExceptionTimeoutExceptionpublic void close(int closeCode,
String closeMessage)
throws IOException,
TimeoutException
close in interface com.rabbitmq.client.ChannelIOExceptionTimeoutExceptionpublic void abort()
throws IOException
abort in interface com.rabbitmq.client.ChannelIOExceptionpublic void abort(int closeCode,
String closeMessage)
throws IOException
abort in interface com.rabbitmq.client.ChannelIOExceptionpublic void addReturnListener(com.rabbitmq.client.ReturnListener listener)
addReturnListener in interface com.rabbitmq.client.Channelpublic boolean removeReturnListener(com.rabbitmq.client.ReturnListener listener)
removeReturnListener in interface com.rabbitmq.client.Channelpublic void clearReturnListeners()
clearReturnListeners in interface com.rabbitmq.client.Channelpublic void addConfirmListener(com.rabbitmq.client.ConfirmListener listener)
addConfirmListener in interface com.rabbitmq.client.Channelpublic boolean removeConfirmListener(com.rabbitmq.client.ConfirmListener listener)
removeConfirmListener in interface com.rabbitmq.client.Channelpublic void clearConfirmListeners()
clearConfirmListeners in interface com.rabbitmq.client.Channelpublic com.rabbitmq.client.Consumer getDefaultConsumer()
getDefaultConsumer in interface com.rabbitmq.client.Channelpublic void setDefaultConsumer(com.rabbitmq.client.Consumer consumer)
setDefaultConsumer in interface com.rabbitmq.client.Channelpublic void basicQos(int prefetchSize,
int prefetchCount,
boolean global)
throws IOException
basicQos in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicQos(int prefetchCount,
boolean global)
throws IOException
basicQos in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicQos(int prefetchCount)
throws IOException
basicQos in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicPublish(String exchange, String routingKey, com.rabbitmq.client.AMQP.BasicProperties props, byte[] body) throws IOException
basicPublish in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicPublish(String exchange, String routingKey, boolean mandatory, com.rabbitmq.client.AMQP.BasicProperties props, byte[] body) throws IOException
basicPublish in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicPublish(String exchange, String routingKey, boolean mandatory, boolean immediate, com.rabbitmq.client.AMQP.BasicProperties props, byte[] body) throws IOException
basicPublish in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclare(String exchange, String type) throws IOException
exchangeDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclare(String exchange, String type, boolean durable) throws IOException
exchangeDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclare(String exchange, String type, boolean durable, boolean autoDelete, Map<String,Object> arguments) throws IOException
exchangeDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclare(String exchange, String type, boolean durable, boolean autoDelete, boolean internal, Map<String,Object> arguments) throws IOException
exchangeDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic void exchangeDeclareNoWait(String exchange, String type, boolean durable, boolean autoDelete, boolean internal, Map<String,Object> arguments) throws IOException
exchangeDeclareNoWait in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclarePassive(String name) throws IOException
exchangeDeclarePassive in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeleteOk exchangeDelete(String exchange, boolean ifUnused) throws IOException
exchangeDelete in interface com.rabbitmq.client.ChannelIOExceptionpublic void exchangeDeleteNoWait(String exchange, boolean ifUnused) throws IOException
exchangeDeleteNoWait in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeleteOk exchangeDelete(String exchange) throws IOException
exchangeDelete in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.BindOk exchangeBind(String destination, String source, String routingKey) throws IOException
exchangeBind in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.BindOk exchangeBind(String destination, String source, String routingKey, Map<String,Object> arguments) throws IOException
exchangeBind in interface com.rabbitmq.client.ChannelIOExceptionpublic void exchangeBindNoWait(String destination, String source, String routingKey, Map<String,Object> arguments) throws IOException
exchangeBindNoWait in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.UnbindOk exchangeUnbind(String destination, String source, String routingKey) throws IOException
exchangeUnbind in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.UnbindOk exchangeUnbind(String destination, String source, String routingKey, Map<String,Object> arguments) throws IOException
exchangeUnbind in interface com.rabbitmq.client.ChannelIOExceptionpublic void exchangeUnbindNoWait(String destination, String source, String routingKey, Map<String,Object> arguments) throws IOException
exchangeUnbindNoWait in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.DeclareOk queueDeclare()
throws IOException
queueDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.DeclareOk queueDeclare(String queue, boolean durable, boolean exclusive, boolean autoDelete, Map<String,Object> arguments) throws IOException
queueDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic void queueDeclareNoWait(String queue, boolean durable, boolean exclusive, boolean autoDelete, Map<String,Object> arguments) throws IOException
queueDeclareNoWait in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.DeclareOk queueDeclarePassive(String queue) throws IOException
queueDeclarePassive in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.DeleteOk queueDelete(String queue) throws IOException
queueDelete in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.DeleteOk queueDelete(String queue, boolean ifUnused, boolean ifEmpty) throws IOException
queueDelete in interface com.rabbitmq.client.ChannelIOExceptionpublic void queueDeleteNoWait(String queue, boolean ifUnused, boolean ifEmpty) throws IOException
queueDeleteNoWait in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.BindOk queueBind(String queue, String exchange, String routingKey) throws IOException
queueBind in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.BindOk queueBind(String queue, String exchange, String routingKey, Map<String,Object> arguments) throws IOException
queueBind in interface com.rabbitmq.client.ChannelIOExceptionpublic void queueBindNoWait(String queue, String exchange, String routingKey, Map<String,Object> arguments) throws IOException
queueBindNoWait in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.UnbindOk queueUnbind(String queue, String exchange, String routingKey) throws IOException
queueUnbind in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.UnbindOk queueUnbind(String queue, String exchange, String routingKey, Map<String,Object> arguments) throws IOException
queueUnbind in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Queue.PurgeOk queuePurge(String queue) throws IOException
queuePurge in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.GetResponse basicGet(String queue, boolean autoAck) throws IOException
basicGet in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicAck(long deliveryTag,
boolean multiple)
throws IOException
basicAck in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicNack(long deliveryTag,
boolean multiple,
boolean requeue)
throws IOException
basicNack in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicReject(long deliveryTag,
boolean requeue)
throws IOException
basicReject in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, com.rabbitmq.client.Consumer callback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, com.rabbitmq.client.Consumer callback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, Map<String,Object> arguments, com.rabbitmq.client.Consumer callback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, String consumerTag, com.rabbitmq.client.Consumer callback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, String consumerTag, boolean noLocal, boolean exclusive, Map<String,Object> arguments, com.rabbitmq.client.Consumer callback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic void basicCancel(String consumerTag) throws IOException
basicCancel in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Basic.RecoverOk basicRecover()
throws IOException
basicRecover in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Basic.RecoverOk basicRecover(boolean requeue)
throws IOException
basicRecover in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Tx.SelectOk txSelect()
throws IOException
txSelect in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Tx.CommitOk txCommit()
throws IOException
txCommit in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Tx.RollbackOk txRollback()
throws IOException
txRollback in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Confirm.SelectOk confirmSelect()
throws IOException
confirmSelect in interface com.rabbitmq.client.ChannelIOExceptionpublic long getNextPublishSeqNo()
getNextPublishSeqNo in interface com.rabbitmq.client.Channelpublic boolean waitForConfirms()
throws InterruptedException
waitForConfirms in interface com.rabbitmq.client.ChannelInterruptedExceptionpublic boolean waitForConfirms(long timeout)
throws InterruptedException,
TimeoutException
waitForConfirms in interface com.rabbitmq.client.ChannelInterruptedExceptionTimeoutExceptionpublic void waitForConfirmsOrDie()
throws IOException,
InterruptedException
waitForConfirmsOrDie in interface com.rabbitmq.client.ChannelIOExceptionInterruptedExceptionpublic void waitForConfirmsOrDie(long timeout)
throws IOException,
InterruptedException,
TimeoutException
waitForConfirmsOrDie in interface com.rabbitmq.client.ChannelIOExceptionInterruptedExceptionTimeoutExceptionpublic void asyncRpc(com.rabbitmq.client.Method method)
throws IOException
asyncRpc in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.Command rpc(com.rabbitmq.client.Method method)
throws IOException
rpc in interface com.rabbitmq.client.ChannelIOExceptionpublic long messageCount(String queue) throws IOException
messageCount in interface com.rabbitmq.client.ChannelIOExceptionpublic long consumerCount(String queue) throws IOException
consumerCount in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.ReturnListener addReturnListener(com.rabbitmq.client.ReturnCallback returnCallback)
addReturnListener in interface com.rabbitmq.client.Channelpublic com.rabbitmq.client.ConfirmListener addConfirmListener(com.rabbitmq.client.ConfirmCallback ackCallback,
com.rabbitmq.client.ConfirmCallback nackCallback)
addConfirmListener in interface com.rabbitmq.client.Channelpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclare(String exchange, com.rabbitmq.client.BuiltinExchangeType type) throws IOException
exchangeDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclare(String exchange, com.rabbitmq.client.BuiltinExchangeType type, boolean durable) throws IOException
exchangeDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclare(String exchange, com.rabbitmq.client.BuiltinExchangeType type, boolean durable, boolean autoDelete, Map<String,Object> arguments) throws IOException
exchangeDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic com.rabbitmq.client.AMQP.Exchange.DeclareOk exchangeDeclare(String exchange, com.rabbitmq.client.BuiltinExchangeType type, boolean durable, boolean autoDelete, boolean internal, Map<String,Object> arguments) throws IOException
exchangeDeclare in interface com.rabbitmq.client.ChannelIOExceptionpublic void exchangeDeclareNoWait(String exchange, com.rabbitmq.client.BuiltinExchangeType type, boolean durable, boolean autoDelete, boolean internal, Map<String,Object> arguments) throws IOException
exchangeDeclareNoWait in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, Map<String,Object> arguments, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, Map<String,Object> arguments, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, Map<String,Object> arguments, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, String consumerTag, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, String consumerTag, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, String consumerTag, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, String consumerTag, boolean noLocal, boolean exclusive, Map<String,Object> arguments, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, String consumerTag, boolean noLocal, boolean exclusive, Map<String,Object> arguments, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic String basicConsume(String queue, boolean autoAck, String consumerTag, boolean noLocal, boolean exclusive, Map<String,Object> arguments, com.rabbitmq.client.DeliverCallback deliverCallback, com.rabbitmq.client.CancelCallback cancelCallback, com.rabbitmq.client.ConsumerShutdownSignalCallback shutdownSignalCallback) throws IOException
basicConsume in interface com.rabbitmq.client.ChannelIOExceptionpublic CompletableFuture<com.rabbitmq.client.Command> asyncCompletableRpc(com.rabbitmq.client.Method method) throws IOException
asyncCompletableRpc in interface com.rabbitmq.client.ChannelIOExceptionCopyright © 2019 MuleSoft, Inc.. All rights reserved.