EVOLUTION-MANAGER
Edit File: ChannelN.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_91) on Thu Jan 14 10:04:52 GMT 2016 --> <title>ChannelN</title> <meta name="date" content="2016-01-14"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="ChannelN"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../com/rabbitmq/client/impl/ChannelManager.html" title="class in com.rabbitmq.client.impl"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../com/rabbitmq/client/impl/ClientVersion.html" title="class in com.rabbitmq.client.impl"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/rabbitmq/client/impl/ChannelN.html" target="_top">Frames</a></li> <li><a href="ChannelN.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested_classes_inherited_from_class_com.rabbitmq.client.impl.AMQChannel">Nested</a> | </li> <li><a href="#fields_inherited_from_class_com.rabbitmq.client.impl.AMQChannel">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">com.rabbitmq.client.impl</div> <h2 title="Class ChannelN" class="title">Class ChannelN</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li><a href="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html" title="class in com.rabbitmq.client.impl">com.rabbitmq.client.impl.ShutdownNotifierComponent</a></li> <li> <ul class="inheritance"> <li><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">com.rabbitmq.client.impl.AMQChannel</a></li> <li> <ul class="inheritance"> <li>com.rabbitmq.client.impl.ChannelN</li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a>, <a href="../../../../com/rabbitmq/client/ShutdownNotifier.html" title="interface in com.rabbitmq.client">ShutdownNotifier</a></dd> </dl> <dl> <dt>Direct Known Subclasses:</dt> <dd><a href="../../../../com/rabbitmq/client/impl/recovery/RecoveryAwareChannelN.html" title="class in com.rabbitmq.client.impl.recovery">RecoveryAwareChannelN</a></dd> </dl> <hr> <br> <pre>public class <span class="strong">ChannelN</span> extends <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a> implements <a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></pre> <div class="block">Main interface to AMQP protocol functionality. Public API - Implementation of all AMQChannels except channel zero. <p> To open a channel, <pre> <a href="../../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client"><code>Connection</code></a> conn = ...; <a href="../../../../com/rabbitmq/client/impl/ChannelN.html" title="class in com.rabbitmq.client.impl"><code>ChannelN</code></a> ch1 = conn.<a href="../../../../com/rabbitmq/client/Connection.html#createChannel()"><code>createChannel</code></a>(); </pre></div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested_class_summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <ul class="blockList"> <li class="blockList"><a name="nested_classes_inherited_from_class_com.rabbitmq.client.impl.AMQChannel"> <!-- --> </a> <h3>Nested classes/interfaces inherited from class com.rabbitmq.client.impl.<a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a></h3> <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.BlockingRpcContinuation.html" title="class in com.rabbitmq.client.impl">AMQChannel.BlockingRpcContinuation</a><<a href="../../../../com/rabbitmq/client/impl/AMQChannel.BlockingRpcContinuation.html" title="type parameter in AMQChannel.BlockingRpcContinuation">T</a>>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.SimpleBlockingRpcContinuation.html" title="class in com.rabbitmq.client.impl">AMQChannel.SimpleBlockingRpcContinuation</a></code></li> </ul> </li> </ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <ul class="blockList"> <li class="blockList"><a name="fields_inherited_from_class_com.rabbitmq.client.impl.AMQChannel"> <!-- --> </a> <h3>Fields inherited from class com.rabbitmq.client.impl.<a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a></h3> <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#_blockContent">_blockContent</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#_channelMutex">_channelMutex</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#ChannelN(com.rabbitmq.client.impl.AMQConnection,%20int,%20com.rabbitmq.client.impl.ConsumerWorkService)">ChannelN</a></strong>(<a href="../../../../com/rabbitmq/client/impl/AMQConnection.html" title="class in com.rabbitmq.client.impl">AMQConnection</a> connection, int channelNumber, <a href="../../../../com/rabbitmq/client/impl/ConsumerWorkService.html" title="class in com.rabbitmq.client.impl">ConsumerWorkService</a> workService)</code> <div class="block">Construct a new channel on the given connection with the given channel number.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#abort()">abort</a></strong>()</code> <div class="block">Public API - Abort this channel with the <a href="../../../../com/rabbitmq/client/AMQP.html#REPLY_SUCCESS"><code>AMQP.REPLY_SUCCESS</code></a> close code and message 'OK'.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#abort(int,%20java.lang.String)">abort</a></strong>(int closeCode, java.lang.String closeMessage)</code> <div class="block">Public API - Abort this channel.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#addConfirmListener(com.rabbitmq.client.ConfirmListener)">addConfirmListener</a></strong>(<a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client">ConfirmListener</a> listener)</code> <div class="block">Add a <a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><code>ConfirmListener</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#addFlowListener(com.rabbitmq.client.FlowListener)">addFlowListener</a></strong>(<a href="../../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client">FlowListener</a> listener)</code> <div class="block"><strong>Deprecated.</strong> </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#addReturnListener(com.rabbitmq.client.ReturnListener)">addReturnListener</a></strong>(<a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client">ReturnListener</a> listener)</code> <div class="block">Add a <a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><code>ReturnListener</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#asyncRpc(com.rabbitmq.client.Method)">asyncRpc</a></strong>(<a href="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</a> method)</code> <div class="block">Asynchronously send a method over this channel.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicAck(long,%20boolean)">basicAck</a></strong>(long deliveryTag, boolean multiple)</code> <div class="block">Public API - Acknowledge one or several received messages.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicCancel(java.lang.String)">basicCancel</a></strong>(java.lang.String consumerTag)</code> <div class="block">Public API - Cancel a consumer.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicConsume(java.lang.String,%20boolean,%20com.rabbitmq.client.Consumer)">basicConsume</a></strong>(java.lang.String queue, boolean autoAck, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback)</code> <div class="block">Public API - Start a non-nolocal, non-exclusive consumer, with a server-generated consumerTag.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicConsume(java.lang.String,%20boolean,%20java.util.Map,%20com.rabbitmq.client.Consumer)">basicConsume</a></strong>(java.lang.String queue, boolean autoAck, java.util.Map<java.lang.String,java.lang.Object> arguments, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback)</code> <div class="block">Public API - Start a non-nolocal, non-exclusive consumer, with a server-generated consumerTag and specified arguments.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicConsume(java.lang.String,%20boolean,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map,%20com.rabbitmq.client.Consumer)">basicConsume</a></strong>(java.lang.String queue, boolean autoAck, java.lang.String consumerTag, boolean noLocal, boolean exclusive, java.util.Map<java.lang.String,java.lang.Object> arguments, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback)</code> <div class="block">Public API - Start a consumer.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicConsume(java.lang.String,%20boolean,%20java.lang.String,%20com.rabbitmq.client.Consumer)">basicConsume</a></strong>(java.lang.String queue, boolean autoAck, java.lang.String consumerTag, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback)</code> <div class="block">Public API - Start a non-nolocal, non-exclusive consumer.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicConsume(java.lang.String,%20com.rabbitmq.client.Consumer)">basicConsume</a></strong>(java.lang.String queue, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback)</code> <div class="block">Public API - Start a non-nolocal, non-exclusive consumer, with explicit acknowledgement and a server-generated consumerTag.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/GetResponse.html" title="class in com.rabbitmq.client">GetResponse</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicGet(java.lang.String,%20boolean)">basicGet</a></strong>(java.lang.String queue, boolean autoAck)</code> <div class="block">Public API - Retrieve a message from a queue using <a href="../../../../com/rabbitmq/client/AMQP.Basic.Get.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Get</code></a></div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicNack(long,%20boolean,%20boolean)">basicNack</a></strong>(long deliveryTag, boolean multiple, boolean requeue)</code> <div class="block">Public API - Reject one or several received messages.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicPublish(java.lang.String,%20java.lang.String,%20com.rabbitmq.client.AMQP.BasicProperties,%20byte[])">basicPublish</a></strong>(java.lang.String exchange, java.lang.String routingKey, <a href="../../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</a> props, byte[] body)</code> <div class="block">Public API - Publish a message.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicPublish(java.lang.String,%20java.lang.String,%20boolean,%20com.rabbitmq.client.AMQP.BasicProperties,%20byte[])">basicPublish</a></strong>(java.lang.String exchange, java.lang.String routingKey, boolean mandatory, <a href="../../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</a> props, byte[] body)</code> <div class="block">Public API - Publish a message.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicPublish(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20com.rabbitmq.client.AMQP.BasicProperties,%20byte[])">basicPublish</a></strong>(java.lang.String exchange, java.lang.String routingKey, boolean mandatory, boolean immediate, <a href="../../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</a> props, byte[] body)</code> <div class="block">Public API - Publish a message.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicQos(int)">basicQos</a></strong>(int prefetchCount)</code> <div class="block">Public API - Request a specific prefetchCount "quality of service" settings for this channel.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicQos(int,%20boolean)">basicQos</a></strong>(int prefetchCount, boolean global)</code> <div class="block">Public API - Request a specific prefetchCount "quality of service" settings for this channel.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicQos(int,%20int,%20boolean)">basicQos</a></strong>(int prefetchSize, int prefetchCount, boolean global)</code> <div class="block">Public API - Request specific "quality of service" settings.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Basic.RecoverOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Basic.RecoverOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicRecover()">basicRecover</a></strong>()</code> <div class="block">Public API - Ask the broker to resend unacknowledged messages.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Basic.RecoverOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Basic.RecoverOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicRecover(boolean)">basicRecover</a></strong>(boolean requeue)</code> <div class="block">Public API - Ask the broker to resend unacknowledged messages.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#basicReject(long,%20boolean)">basicReject</a></strong>(long deliveryTag, boolean requeue)</code> <div class="block">Public API - Reject a message.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#clearConfirmListeners()">clearConfirmListeners</a></strong>()</code> <div class="block">Remove all <a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><code>ConfirmListener</code></a>s.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#clearFlowListeners()">clearFlowListeners</a></strong>()</code> <div class="block"><strong>Deprecated.</strong> </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#clearReturnListeners()">clearReturnListeners</a></strong>()</code> <div class="block">Remove all <a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><code>ReturnListener</code></a>s.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#close()">close</a></strong>()</code> <div class="block">Public API - Close this channel with the <a href="../../../../com/rabbitmq/client/AMQP.html#REPLY_SUCCESS"><code>AMQP.REPLY_SUCCESS</code></a> close code and message 'OK'.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#close(int,%20java.lang.String)">close</a></strong>(int closeCode, java.lang.String closeMessage)</code> <div class="block">Public API - Close this channel.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#close(int,%20java.lang.String,%20boolean,%20java.lang.Throwable,%20boolean)">close</a></strong>(int closeCode, java.lang.String closeMessage, boolean initiatedByApplication, java.lang.Throwable cause, boolean abort)</code> <div class="block">Protected API - Close channel with code and message, indicating the source of the closure and a causing exception (null if none).</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Confirm.SelectOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Confirm.SelectOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#confirmSelect()">confirmSelect</a></strong>()</code> <div class="block">Public API - Enables publisher acknowledgements on this channel.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#consumerCount(java.lang.String)">consumerCount</a></strong>(java.lang.String queue)</code> <div class="block">Public API - Returns the number of consumers on a queue.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#enqueueRpc(com.rabbitmq.client.impl.AMQChannel.RpcContinuation)">enqueueRpc</a></strong>(<a href="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</a> k)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.BindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.BindOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeBind(java.lang.String,%20java.lang.String,%20java.lang.String)">exchangeBind</a></strong>(java.lang.String destination, java.lang.String source, java.lang.String routingKey)</code> <div class="block">Public API - Bind an exchange to an exchange, with no extra arguments.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.BindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.BindOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeBind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">exchangeBind</a></strong>(java.lang.String destination, java.lang.String source, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Bind an exchange to an exchange.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeBindNoWait(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">exchangeBindNoWait</a></strong>(java.lang.String destination, java.lang.String source, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Like <a href="../../../../com/rabbitmq/client/Channel.html#exchangeBind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)"><code>Channel.exchangeBind(String, String, String, java.util.Map)</code></a> but sets nowait parameter to true and returns void (as there will be no response from the server).</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDeclare(java.lang.String,%20java.lang.String)">exchangeDeclare</a></strong>(java.lang.String exchange, java.lang.String type)</code> <div class="block">Public API - Actively declare a non-autodelete, non-durable exchange with no extra arguments</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDeclare(java.lang.String,%20java.lang.String,%20boolean)">exchangeDeclare</a></strong>(java.lang.String exchange, java.lang.String type, boolean durable)</code> <div class="block">Public API - Actively declare a non-autodelete exchange with no extra arguments</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDeclare(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">exchangeDeclare</a></strong>(java.lang.String exchange, java.lang.String type, boolean durable, boolean autoDelete, boolean internal, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Declare an exchange, via an interface that allows the complete set of arguments.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDeclare(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map)">exchangeDeclare</a></strong>(java.lang.String exchange, java.lang.String type, boolean durable, boolean autoDelete, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Declare an exchange.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDeclareNoWait(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">exchangeDeclareNoWait</a></strong>(java.lang.String exchange, java.lang.String type, boolean durable, boolean autoDelete, boolean internal, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Like <a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map)"><code>Channel.exchangeDeclare(String, String, boolean, boolean, java.util.Map)</code></a> but sets nowait parameter to true and returns nothing (as there will be no response from the server).</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDeclarePassive(java.lang.String)">exchangeDeclarePassive</a></strong>(java.lang.String exchange)</code> <div class="block">Public API - Declare an exchange passively; that is, check if the named exchange exists.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeleteOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeleteOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDelete(java.lang.String)">exchangeDelete</a></strong>(java.lang.String exchange)</code> <div class="block">Public API - Delete an exchange, without regard for whether it is in use or not</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeleteOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeleteOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDelete(java.lang.String,%20boolean)">exchangeDelete</a></strong>(java.lang.String exchange, boolean ifUnused)</code> <div class="block">Public API - Delete an exchange</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeDeleteNoWait(java.lang.String,%20boolean)">exchangeDeleteNoWait</a></strong>(java.lang.String exchange, boolean ifUnused)</code> <div class="block">Public API - Like <a href="../../../../com/rabbitmq/client/Channel.html#exchangeDelete(java.lang.String,%20boolean)"><code>Channel.exchangeDelete(String, boolean)</code></a> but sets nowait parameter to true and returns void (as there will be no response from the server).</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.UnbindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.UnbindOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeUnbind(java.lang.String,%20java.lang.String,%20java.lang.String)">exchangeUnbind</a></strong>(java.lang.String destination, java.lang.String source, java.lang.String routingKey)</code> <div class="block">Public API - Unbind an exchange from an exchange, with no extra arguments.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.UnbindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.UnbindOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeUnbind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">exchangeUnbind</a></strong>(java.lang.String destination, java.lang.String source, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Unbind an exchange from an exchange.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#exchangeUnbindNoWait(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">exchangeUnbindNoWait</a></strong>(java.lang.String destination, java.lang.String source, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Same as <a href="../../../../com/rabbitmq/client/Channel.html#exchangeUnbind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)"><code>Channel.exchangeUnbind(String, String, String, java.util.Map)</code></a> but sets no-wait parameter to true and returns nothing (as there will be no response from the server).</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#flowBlocked()">flowBlocked</a></strong>()</code> <div class="block"><strong>Deprecated.</strong> </div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#getDefaultConsumer()">getDefaultConsumer</a></strong>()</code> <div class="block">Returns the current default consumer.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#getNextPublishSeqNo()">getNextPublishSeqNo</a></strong>()</code> <div class="block">Public API - When in confirm mode, returns the sequence number of the next message to be published.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#markRpcFinished()">markRpcFinished</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#messageCount(java.lang.String)">messageCount</a></strong>(java.lang.String queue)</code> <div class="block">Public API - Returns the number of messages in a queue ready to be delivered to consumers.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#open()">open</a></strong>()</code> <div class="block">Package method: open the channel.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#processAsync(com.rabbitmq.client.Command)">processAsync</a></strong>(<a href="../../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client">Command</a> command)</code> <div class="block">Protected API - Filters the inbound command stream, processing Basic.Deliver, Basic.Return and Channel.Close specially.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#processDelivery(com.rabbitmq.client.Command,%20com.rabbitmq.client.impl.AMQImpl.Basic.Deliver)">processDelivery</a></strong>(<a href="../../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client">Command</a> command, <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Basic.Deliver.html" title="class in com.rabbitmq.client.impl">AMQImpl.Basic.Deliver</a> method)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#processShutdownSignal(com.rabbitmq.client.ShutdownSignalException,%20boolean,%20boolean)">processShutdownSignal</a></strong>(<a href="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</a> signal, boolean ignoreClosed, boolean notifyRpc)</code> <div class="block">Protected API - overridden to quiesce consumer work and broadcast the signal to all consumers after calling the superclass's method.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.BindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.BindOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueBind(java.lang.String,%20java.lang.String,%20java.lang.String)">queueBind</a></strong>(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey)</code> <div class="block">Public API - Bind a queue to an exchange, with no extra arguments.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.BindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.BindOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueBind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">queueBind</a></strong>(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Bind a queue to an exchange.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueBindNoWait(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">queueBindNoWait</a></strong>(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Same as <a href="../../../../com/rabbitmq/client/Channel.html#queueDeclare(java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)"><code>Channel.queueDeclare(String, boolean, boolean, boolean, java.util.Map)</code></a> but sets nowait parameter to true and returns void (as there will be no response from the server).</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeclareOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueDeclare()">queueDeclare</a></strong>()</code> <div class="block">Public API - Actively declare a server-named exclusive, autodelete, non-durable queue.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.DeclareOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueDeclare(java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">queueDeclare</a></strong>(java.lang.String queue, boolean durable, boolean exclusive, boolean autoDelete, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Declare a queue</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueDeclareNoWait(java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">queueDeclareNoWait</a></strong>(java.lang.String queue, boolean durable, boolean exclusive, boolean autoDelete, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Like <a href="../../../../com/rabbitmq/client/Channel.html#queueDeclare(java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)"><code>Channel.queueDeclare(String, boolean, boolean, boolean, java.util.Map)</code></a> but sets nowait flag to true and returns no result (as there will be no response from the server).</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.DeclareOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueDeclarePassive(java.lang.String)">queueDeclarePassive</a></strong>(java.lang.String queue)</code> <div class="block">Public API - Declare a queue passively; i.e., check if it exists.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.DeleteOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.DeleteOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueDelete(java.lang.String)">queueDelete</a></strong>(java.lang.String queue)</code> <div class="block">Public API - Delete a queue, without regard for whether it is in use or has messages on it</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.DeleteOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.DeleteOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueDelete(java.lang.String,%20boolean,%20boolean)">queueDelete</a></strong>(java.lang.String queue, boolean ifUnused, boolean ifEmpty)</code> <div class="block">Public API - Delete a queue</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueDeleteNoWait(java.lang.String,%20boolean,%20boolean)">queueDeleteNoWait</a></strong>(java.lang.String queue, boolean ifUnused, boolean ifEmpty)</code> <div class="block">Like <a href="../../../../com/rabbitmq/client/Channel.html#queueDelete(java.lang.String,%20boolean,%20boolean)"><code>Channel.queueDelete(String, boolean, boolean)</code></a> but sets nowait parameter to true and returns nothing (as there will be no response from the server).</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.PurgeOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.PurgeOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queuePurge(java.lang.String)">queuePurge</a></strong>(java.lang.String queue)</code> <div class="block">Public API - Purges the contents of the given queue.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.UnbindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.UnbindOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueUnbind(java.lang.String,%20java.lang.String,%20java.lang.String)">queueUnbind</a></strong>(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey)</code> <div class="block">Public API - Unbinds a queue from an exchange, with no extra arguments.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.UnbindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.UnbindOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#queueUnbind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">queueUnbind</a></strong>(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments)</code> <div class="block">Public API - Unbind a queue from an exchange.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#removeConfirmListener(com.rabbitmq.client.ConfirmListener)">removeConfirmListener</a></strong>(<a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client">ConfirmListener</a> listener)</code> <div class="block">Remove a <a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><code>ConfirmListener</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#removeFlowListener(com.rabbitmq.client.FlowListener)">removeFlowListener</a></strong>(<a href="../../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client">FlowListener</a> listener)</code> <div class="block"><strong>Deprecated.</strong> </div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#removeReturnListener(com.rabbitmq.client.ReturnListener)">removeReturnListener</a></strong>(<a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client">ReturnListener</a> listener)</code> <div class="block">Remove a <a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><code>ReturnListener</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#rpc(com.rabbitmq.client.Method)">rpc</a></strong>(<a href="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</a> method)</code> <div class="block">Protected API - sends a <a href="../../../../com/rabbitmq/client/impl/Method.html" title="class in com.rabbitmq.client.impl"><code>Method</code></a> to the broker and waits for the next in-bound Command from the broker: only for use from non-connection-MainLoop threads!</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#setDefaultConsumer(com.rabbitmq.client.Consumer)">setDefaultConsumer</a></strong>(<a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> consumer)</code> <div class="block">Sets the current default consumer.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Tx.CommitOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Tx.CommitOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#txCommit()">txCommit</a></strong>()</code> <div class="block">Public API - Commits a TX transaction on this channel.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Tx.RollbackOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Tx.RollbackOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#txRollback()">txRollback</a></strong>()</code> <div class="block">Public API - Rolls back a TX transaction on this channel.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/rabbitmq/client/impl/AMQImpl.Tx.SelectOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Tx.SelectOk</a></code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#txSelect()">txSelect</a></strong>()</code> <div class="block">Public API - Enables TX mode on this channel.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#waitForConfirms()">waitForConfirms</a></strong>()</code> <div class="block">Wait until all messages published since the last call have been either ack'd or nack'd by the broker.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#waitForConfirms(long)">waitForConfirms</a></strong>(long timeout)</code> <div class="block">Wait until all messages published since the last call have been either ack'd or nack'd by the broker; or until timeout elapses.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#waitForConfirmsOrDie()">waitForConfirmsOrDie</a></strong>()</code> <div class="block">Wait until all messages published since the last call have been either ack'd or nack'd by the broker.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../com/rabbitmq/client/impl/ChannelN.html#waitForConfirmsOrDie(long)">waitForConfirmsOrDie</a></strong>(long timeout)</code> <div class="block">Wait until all messages published since the last call have been either ack'd or nack'd by the broker; or until timeout elapses.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.rabbitmq.client.impl.AMQChannel"> <!-- --> </a> <h3>Methods inherited from class com.rabbitmq.client.impl.<a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a></h3> <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#ensureIsOpen()">ensureIsOpen</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#exnWrappingRpc(com.rabbitmq.client.Method)">exnWrappingRpc</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#getChannelNumber()">getChannelNumber</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#getConnection()">getConnection</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#handleCompleteInboundCommand(com.rabbitmq.client.impl.AMQCommand)">handleCompleteInboundCommand</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#handleFrame(com.rabbitmq.client.impl.Frame)">handleFrame</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#isOutstandingRpc()">isOutstandingRpc</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#nextOutstandingRpc()">nextOutstandingRpc</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#notifyOutstandingRpc(com.rabbitmq.client.ShutdownSignalException)">notifyOutstandingRpc</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#quiescingRpc(com.rabbitmq.client.Method,%20com.rabbitmq.client.impl.AMQChannel.RpcContinuation)">quiescingRpc</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#quiescingTransmit(com.rabbitmq.client.impl.AMQCommand)">quiescingTransmit</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#quiescingTransmit(com.rabbitmq.client.Method)">quiescingTransmit</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#rpc(com.rabbitmq.client.Method,%20com.rabbitmq.client.impl.AMQChannel.RpcContinuation)">rpc</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#rpc(com.rabbitmq.client.Method,%20int)">rpc</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#toString()">toString</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#transmit(com.rabbitmq.client.impl.AMQCommand)">transmit</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#transmit(com.rabbitmq.client.Method)">transmit</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#wrap(com.rabbitmq.client.ShutdownSignalException)">wrap</a>, <a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#wrap(com.rabbitmq.client.ShutdownSignalException,%20java.lang.String)">wrap</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.rabbitmq.client.impl.ShutdownNotifierComponent"> <!-- --> </a> <h3>Methods inherited from class com.rabbitmq.client.impl.<a href="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html" title="class in com.rabbitmq.client.impl">ShutdownNotifierComponent</a></h3> <code><a href="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#addShutdownListener(com.rabbitmq.client.ShutdownListener)">addShutdownListener</a>, <a href="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#getCloseReason()">getCloseReason</a>, <a href="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#isOpen()">isOpen</a>, <a href="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#notifyListeners()">notifyListeners</a>, <a href="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#removeShutdownListener(com.rabbitmq.client.ShutdownListener)">removeShutdownListener</a>, <a href="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#setShutdownCauseIfOpen(com.rabbitmq.client.ShutdownSignalException)">setShutdownCauseIfOpen</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.rabbitmq.client.Channel"> <!-- --> </a> <h3>Methods inherited from interface com.rabbitmq.client.<a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></h3> <code><a href="../../../../com/rabbitmq/client/Channel.html#getChannelNumber()">getChannelNumber</a>, <a href="../../../../com/rabbitmq/client/Channel.html#getConnection()">getConnection</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.rabbitmq.client.ShutdownNotifier"> <!-- --> </a> <h3>Methods inherited from interface com.rabbitmq.client.<a href="../../../../com/rabbitmq/client/ShutdownNotifier.html" title="interface in com.rabbitmq.client">ShutdownNotifier</a></h3> <code><a href="../../../../com/rabbitmq/client/ShutdownNotifier.html#addShutdownListener(com.rabbitmq.client.ShutdownListener)">addShutdownListener</a>, <a href="../../../../com/rabbitmq/client/ShutdownNotifier.html#getCloseReason()">getCloseReason</a>, <a href="../../../../com/rabbitmq/client/ShutdownNotifier.html#isOpen()">isOpen</a>, <a href="../../../../com/rabbitmq/client/ShutdownNotifier.html#notifyListeners()">notifyListeners</a>, <a href="../../../../com/rabbitmq/client/ShutdownNotifier.html#removeShutdownListener(com.rabbitmq.client.ShutdownListener)">removeShutdownListener</a></code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="ChannelN(com.rabbitmq.client.impl.AMQConnection, int, com.rabbitmq.client.impl.ConsumerWorkService)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>ChannelN</h4> <pre>public ChannelN(<a href="../../../../com/rabbitmq/client/impl/AMQConnection.html" title="class in com.rabbitmq.client.impl">AMQConnection</a> connection, int channelNumber, <a href="../../../../com/rabbitmq/client/impl/ConsumerWorkService.html" title="class in com.rabbitmq.client.impl">ConsumerWorkService</a> workService)</pre> <div class="block">Construct a new channel on the given connection with the given channel number. Usually not called directly - call Connection.createChannel instead.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>connection</code> - The connection associated with this channel</dd><dd><code>channelNumber</code> - The channel number to be associated with this channel</dd><dd><code>workService</code> - service for managing this channel's consumer callbacks</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/Connection.html#createChannel()"><code>Connection.createChannel()</code></a></dd></dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="open()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>open</h4> <pre>public void open() throws java.io.IOException</pre> <div class="block">Package method: open the channel. This is only called from <a href="../../../../com/rabbitmq/client/impl/ChannelManager.html" title="class in com.rabbitmq.client.impl"><code>ChannelManager</code></a>.</div> <dl><dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if any problem is encountered</dd></dl> </li> </ul> <a name="addReturnListener(com.rabbitmq.client.ReturnListener)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addReturnListener</h4> <pre>public void addReturnListener(<a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client">ReturnListener</a> listener)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#addReturnListener(com.rabbitmq.client.ReturnListener)">Channel</a></code></strong></div> <div class="block">Add a <a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><code>ReturnListener</code></a>.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#addReturnListener(com.rabbitmq.client.ReturnListener)">addReturnListener</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the listener to add</dd></dl> </li> </ul> <a name="removeReturnListener(com.rabbitmq.client.ReturnListener)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>removeReturnListener</h4> <pre>public boolean removeReturnListener(<a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client">ReturnListener</a> listener)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#removeReturnListener(com.rabbitmq.client.ReturnListener)">Channel</a></code></strong></div> <div class="block">Remove a <a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><code>ReturnListener</code></a>.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#removeReturnListener(com.rabbitmq.client.ReturnListener)">removeReturnListener</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the listener to remove</dd> <dt><span class="strong">Returns:</span></dt><dd><code><b>true</b></code> if the listener was found and removed, <code><b>false</b></code> otherwise</dd></dl> </li> </ul> <a name="clearReturnListeners()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>clearReturnListeners</h4> <pre>public void clearReturnListeners()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#clearReturnListeners()">Channel</a></code></strong></div> <div class="block">Remove all <a href="../../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><code>ReturnListener</code></a>s.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#clearReturnListeners()">clearReturnListeners</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> </dl> </li> </ul> <a name="addFlowListener(com.rabbitmq.client.FlowListener)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addFlowListener</h4> <pre>@Deprecated public void addFlowListener(<a href="../../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client">FlowListener</a> listener)</pre> <div class="block"><span class="strong">Deprecated.</span> </div> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#addFlowListener(com.rabbitmq.client.FlowListener)">Channel</a></code></strong></div> <div class="block">Add a <a href="../../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><code>FlowListener</code></a>. Deprecated, superseded by TCP back pressure.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#addFlowListener(com.rabbitmq.client.FlowListener)">addFlowListener</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the listener to add</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.rabbitmq.com/alarms.html">Resource-driven alarms</a></dd></dl> </li> </ul> <a name="removeFlowListener(com.rabbitmq.client.FlowListener)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>removeFlowListener</h4> <pre>@Deprecated public boolean removeFlowListener(<a href="../../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client">FlowListener</a> listener)</pre> <div class="block"><span class="strong">Deprecated.</span> </div> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#removeFlowListener(com.rabbitmq.client.FlowListener)">Channel</a></code></strong></div> <div class="block">Remove a <a href="../../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><code>FlowListener</code></a>. Deprecated, superseded by TCP back pressure.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#removeFlowListener(com.rabbitmq.client.FlowListener)">removeFlowListener</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the listener to remove</dd> <dt><span class="strong">Returns:</span></dt><dd><code><b>true</b></code> if the listener was found and removed, <code><b>false</b></code> otherwise</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.rabbitmq.com/alarms.html">Resource-driven alarms</a></dd></dl> </li> </ul> <a name="clearFlowListeners()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>clearFlowListeners</h4> <pre>@Deprecated public void clearFlowListeners()</pre> <div class="block"><span class="strong">Deprecated.</span> </div> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#clearFlowListeners()">Channel</a></code></strong></div> <div class="block">Remove all <a href="../../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><code>FlowListener</code></a>s. Deprecated, superseded by TCP back pressure.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#clearFlowListeners()">clearFlowListeners</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">See Also:</span></dt><dd><a href="http://www.rabbitmq.com/alarms.html">Resource-driven alarms</a></dd></dl> </li> </ul> <a name="addConfirmListener(com.rabbitmq.client.ConfirmListener)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addConfirmListener</h4> <pre>public void addConfirmListener(<a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client">ConfirmListener</a> listener)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#addConfirmListener(com.rabbitmq.client.ConfirmListener)">Channel</a></code></strong></div> <div class="block">Add a <a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><code>ConfirmListener</code></a>.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#addConfirmListener(com.rabbitmq.client.ConfirmListener)">addConfirmListener</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the listener to add</dd></dl> </li> </ul> <a name="removeConfirmListener(com.rabbitmq.client.ConfirmListener)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>removeConfirmListener</h4> <pre>public boolean removeConfirmListener(<a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client">ConfirmListener</a> listener)</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#removeConfirmListener(com.rabbitmq.client.ConfirmListener)">Channel</a></code></strong></div> <div class="block">Remove a <a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><code>ConfirmListener</code></a>.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#removeConfirmListener(com.rabbitmq.client.ConfirmListener)">removeConfirmListener</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - the listener to remove</dd> <dt><span class="strong">Returns:</span></dt><dd><code><b>true</b></code> if the listener was found and removed, <code><b>false</b></code> otherwise</dd></dl> </li> </ul> <a name="clearConfirmListeners()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>clearConfirmListeners</h4> <pre>public void clearConfirmListeners()</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#clearConfirmListeners()">Channel</a></code></strong></div> <div class="block">Remove all <a href="../../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><code>ConfirmListener</code></a>s.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#clearConfirmListeners()">clearConfirmListeners</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> </dl> </li> </ul> <a name="waitForConfirms()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>waitForConfirms</h4> <pre>public boolean waitForConfirms() throws java.lang.InterruptedException</pre> <div class="block">Wait until all messages published since the last call have been either ack'd or nack'd by the broker. Note, when called on a non-Confirm channel, waitForConfirms throws an IllegalStateException.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#waitForConfirms()">waitForConfirms</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>whether all the messages were ack'd (and none were nack'd)</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.lang.InterruptedException</code></dd></dl> </li> </ul> <a name="waitForConfirms(long)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>waitForConfirms</h4> <pre>public boolean waitForConfirms(long timeout) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException</pre> <div class="block">Wait until all messages published since the last call have been either ack'd or nack'd by the broker; or until timeout elapses. If the timeout expires a TimeoutException is thrown. When called on a non-Confirm channel, waitForConfirms throws an IllegalStateException.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#waitForConfirms(long)">waitForConfirms</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>whether all the messages were ack'd (and none were nack'd)</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.lang.InterruptedException</code></dd> <dd><code>java.util.concurrent.TimeoutException</code></dd></dl> </li> </ul> <a name="waitForConfirmsOrDie()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>waitForConfirmsOrDie</h4> <pre>public void waitForConfirmsOrDie() throws java.io.IOException, java.lang.InterruptedException</pre> <div class="block">Wait until all messages published since the last call have been either ack'd or nack'd by the broker. If any of the messages were nack'd, waitForConfirmsOrDie will throw an IOException. When called on a non-Confirm channel, it will throw an IllegalStateException.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#waitForConfirmsOrDie()">waitForConfirmsOrDie</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd> <dd><code>java.lang.InterruptedException</code></dd></dl> </li> </ul> <a name="waitForConfirmsOrDie(long)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>waitForConfirmsOrDie</h4> <pre>public void waitForConfirmsOrDie(long timeout) throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.TimeoutException</pre> <div class="block">Wait until all messages published since the last call have been either ack'd or nack'd by the broker; or until timeout elapses. If the timeout expires a TimeoutException is thrown. If any of the messages were nack'd, waitForConfirmsOrDie will throw an IOException. When called on a non-Confirm channel, it will throw an IllegalStateException.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#waitForConfirmsOrDie(long)">waitForConfirmsOrDie</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd> <dd><code>java.lang.InterruptedException</code></dd> <dd><code>java.util.concurrent.TimeoutException</code></dd></dl> </li> </ul> <a name="getDefaultConsumer()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDefaultConsumer</h4> <pre>public <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> getDefaultConsumer()</pre> <div class="block">Returns the current default consumer.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#getDefaultConsumer()">getDefaultConsumer</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>an interface to the current default consumer.</dd></dl> </li> </ul> <a name="setDefaultConsumer(com.rabbitmq.client.Consumer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setDefaultConsumer</h4> <pre>public void setDefaultConsumer(<a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> consumer)</pre> <div class="block">Sets the current default consumer. A null argument is interpreted to mean "do not use a default consumer".</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#setDefaultConsumer(com.rabbitmq.client.Consumer)">setDefaultConsumer</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>consumer</code> - the consumer to use, or null indicating "don't use one".</dd></dl> </li> </ul> <a name="processShutdownSignal(com.rabbitmq.client.ShutdownSignalException, boolean, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>processShutdownSignal</h4> <pre>public void processShutdownSignal(<a href="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</a> signal, boolean ignoreClosed, boolean notifyRpc)</pre> <div class="block">Protected API - overridden to quiesce consumer work and broadcast the signal to all consumers after calling the superclass's method.</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#processShutdownSignal(com.rabbitmq.client.ShutdownSignalException,%20boolean,%20boolean)">processShutdownSignal</a></code> in class <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>signal</code> - the signal to handle</dd><dd><code>ignoreClosed</code> - the flag indicating whether to ignore the AlreadyClosedException thrown when the channel is already closed</dd><dd><code>notifyRpc</code> - the flag indicating whether any remaining rpc continuation should be notified with the given signal</dd></dl> </li> </ul> <a name="processAsync(com.rabbitmq.client.Command)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>processAsync</h4> <pre>public boolean processAsync(<a href="../../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client">Command</a> command) throws java.io.IOException</pre> <div class="block">Protected API - Filters the inbound command stream, processing Basic.Deliver, Basic.Return and Channel.Close specially. If we're in quiescing mode, all inbound commands are ignored, except for Channel.Close and Channel.CloseOk.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#processAsync(com.rabbitmq.client.Command)">processAsync</a></code> in class <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>command</code> - the command to handle asynchronously</dd> <dt><span class="strong">Returns:</span></dt><dd>true if we handled the command; otherwise the caller should consider it "unhandled"</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd></dl> </li> </ul> <a name="processDelivery(com.rabbitmq.client.Command, com.rabbitmq.client.impl.AMQImpl.Basic.Deliver)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>processDelivery</h4> <pre>protected void processDelivery(<a href="../../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client">Command</a> command, <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Basic.Deliver.html" title="class in com.rabbitmq.client.impl">AMQImpl.Basic.Deliver</a> method)</pre> </li> </ul> <a name="close()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>close</h4> <pre>public void close() throws java.io.IOException, java.util.concurrent.TimeoutException</pre> <div class="block">Public API - Close this channel with the <a href="../../../../com/rabbitmq/client/AMQP.html#REPLY_SUCCESS"><code>AMQP.REPLY_SUCCESS</code></a> close code and message 'OK'.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#close()">close</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd> <dd><code>java.util.concurrent.TimeoutException</code></dd></dl> </li> </ul> <a name="close(int, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>close</h4> <pre>public void close(int closeCode, java.lang.String closeMessage) throws java.io.IOException, java.util.concurrent.TimeoutException</pre> <div class="block">Public API - Close this channel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#close(int,%20java.lang.String)">close</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>closeCode</code> - the close code (See under "Reply Codes" in the AMQP specification)</dd><dd><code>closeMessage</code> - a message indicating the reason for closing the connection</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd> <dd><code>java.util.concurrent.TimeoutException</code></dd></dl> </li> </ul> <a name="abort()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>abort</h4> <pre>public void abort() throws java.io.IOException</pre> <div class="block">Public API - Abort this channel with the <a href="../../../../com/rabbitmq/client/AMQP.html#REPLY_SUCCESS"><code>AMQP.REPLY_SUCCESS</code></a> close code and message 'OK'. Forces the channel to close and waits for the close operation to complete. Any encountered exceptions in the close operation are silently discarded.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#abort()">abort</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd></dl> </li> </ul> <a name="abort(int, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>abort</h4> <pre>public void abort(int closeCode, java.lang.String closeMessage) throws java.io.IOException</pre> <div class="block">Public API - Abort this channel. Forces the channel to close and waits for the close operation to complete. Any encountered exceptions in the close operation are silently discarded.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#abort(int,%20java.lang.String)">abort</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd></dl> </li> </ul> <a name="close(int, java.lang.String, boolean, java.lang.Throwable, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>close</h4> <pre>protected void close(int closeCode, java.lang.String closeMessage, boolean initiatedByApplication, java.lang.Throwable cause, boolean abort) throws java.io.IOException, java.util.concurrent.TimeoutException</pre> <div class="block">Protected API - Close channel with code and message, indicating the source of the closure and a causing exception (null if none).</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>closeCode</code> - the close code (See under "Reply Codes" in the AMQP specification)</dd><dd><code>closeMessage</code> - a message indicating the reason for closing the connection</dd><dd><code>initiatedByApplication</code> - true if this comes from an API call, false otherwise</dd><dd><code>cause</code> - exception triggering close</dd><dd><code>abort</code> - true if we should close and ignore errors</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd> <dd><code>java.util.concurrent.TimeoutException</code></dd></dl> </li> </ul> <a name="basicQos(int, int, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicQos</h4> <pre>public void basicQos(int prefetchSize, int prefetchCount, boolean global) throws java.io.IOException</pre> <div class="block">Public API - Request specific "quality of service" settings. These settings impose limits on the amount of data the server will deliver to consumers before requiring acknowledgements. Thus they provide a means of consumer-initiated flow control.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicQos(int,%20int,%20boolean)">basicQos</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>prefetchSize</code> - maximum amount of content (measured in octets) that the server will deliver, 0 if unlimited</dd><dd><code>prefetchCount</code> - maximum number of messages that the server will deliver, 0 if unlimited</dd><dd><code>global</code> - true if the settings should be applied to the entire channel rather than each consumer</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Qos.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Qos</code></a></dd></dl> </li> </ul> <a name="basicQos(int, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicQos</h4> <pre>public void basicQos(int prefetchCount, boolean global) throws java.io.IOException</pre> <div class="block">Public API - Request a specific prefetchCount "quality of service" settings for this channel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicQos(int,%20boolean)">basicQos</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>prefetchCount</code> - maximum number of messages that the server will deliver, 0 if unlimited</dd><dd><code>global</code> - true if the settings should be applied to the entire channel rather than each consumer</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/Channel.html#basicQos(int,%20int,%20boolean)"><code>Channel.basicQos(int, int, boolean)</code></a></dd></dl> </li> </ul> <a name="basicQos(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicQos</h4> <pre>public void basicQos(int prefetchCount) throws java.io.IOException</pre> <div class="block">Public API - Request a specific prefetchCount "quality of service" settings for this channel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicQos(int)">basicQos</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>prefetchCount</code> - maximum number of messages that the server will deliver, 0 if unlimited</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/Channel.html#basicQos(int,%20int,%20boolean)"><code>Channel.basicQos(int, int, boolean)</code></a></dd></dl> </li> </ul> <a name="basicPublish(java.lang.String, java.lang.String, com.rabbitmq.client.AMQP.BasicProperties, byte[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicPublish</h4> <pre>public void basicPublish(java.lang.String exchange, java.lang.String routingKey, <a href="../../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</a> props, byte[] body) throws java.io.IOException</pre> <div class="block">Public API - Publish a message. Publishing to a non-existent exchange will result in a channel-level protocol exception, which closes the channel. Invocations of <code>Channel#basicPublish</code> will eventually block if a <a href="http://www.rabbitmq.com/alarms.html">resource-driven alarm</a> is in effect.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicPublish(java.lang.String,%20java.lang.String,%20com.rabbitmq.client.AMQP.BasicProperties,%20byte[])">basicPublish</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the exchange to publish the message to</dd><dd><code>routingKey</code> - the routing key</dd><dd><code>props</code> - other properties for the message - routing headers etc</dd><dd><code>body</code> - the message body</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Publish.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Publish</code></a>, <a href="http://www.rabbitmq.com/alarms.html">Resource-driven alarms</a>.</dd></dl> </li> </ul> <a name="basicPublish(java.lang.String, java.lang.String, boolean, com.rabbitmq.client.AMQP.BasicProperties, byte[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicPublish</h4> <pre>public void basicPublish(java.lang.String exchange, java.lang.String routingKey, boolean mandatory, <a href="../../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</a> props, byte[] body) throws java.io.IOException</pre> <div class="block">Public API - Publish a message. Invocations of <code>Channel#basicPublish</code> will eventually block if a <a href="http://www.rabbitmq.com/alarms.html">resource-driven alarm</a> is in effect.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicPublish(java.lang.String,%20java.lang.String,%20boolean,%20com.rabbitmq.client.AMQP.BasicProperties,%20byte[])">basicPublish</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the exchange to publish the message to</dd><dd><code>routingKey</code> - the routing key</dd><dd><code>mandatory</code> - true if the 'mandatory' flag is to be set</dd><dd><code>props</code> - other properties for the message - routing headers etc</dd><dd><code>body</code> - the message body</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Publish.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Publish</code></a>, <a href="http://www.rabbitmq.com/alarms.html">Resource-driven alarms</a>.</dd></dl> </li> </ul> <a name="basicPublish(java.lang.String, java.lang.String, boolean, boolean, com.rabbitmq.client.AMQP.BasicProperties, byte[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicPublish</h4> <pre>public void basicPublish(java.lang.String exchange, java.lang.String routingKey, boolean mandatory, boolean immediate, <a href="../../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</a> props, byte[] body) throws java.io.IOException</pre> <div class="block">Public API - Publish a message. Publishing to a non-existent exchange will result in a channel-level protocol exception, which closes the channel. Invocations of <code>Channel#basicPublish</code> will eventually block if a <a href="http://www.rabbitmq.com/alarms.html">resource-driven alarm</a> is in effect.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicPublish(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20com.rabbitmq.client.AMQP.BasicProperties,%20byte[])">basicPublish</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the exchange to publish the message to</dd><dd><code>routingKey</code> - the routing key</dd><dd><code>mandatory</code> - true if the 'mandatory' flag is to be set</dd><dd><code>immediate</code> - true if the 'immediate' flag is to be set. Note that the RabbitMQ server does not support this flag.</dd><dd><code>props</code> - other properties for the message - routing headers etc</dd><dd><code>body</code> - the message body</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Publish.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Publish</code></a>, <a href="http://www.rabbitmq.com/alarms.html">Resource-driven alarms</a>.</dd></dl> </li> </ul> <a name="exchangeDeclare(java.lang.String, java.lang.String, boolean, boolean, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDeclare</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a> exchangeDeclare(java.lang.String exchange, java.lang.String type, boolean durable, boolean autoDelete, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Declare an exchange.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map)">exchangeDeclare</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the name of the exchange</dd><dd><code>type</code> - the exchange type</dd><dd><code>durable</code> - true if we are declaring a durable exchange (the exchange will survive a server restart)</dd><dd><code>autoDelete</code> - true if the server should delete the exchange when it is no longer in use</dd><dd><code>arguments</code> - other properties (construction arguments) for the exchange</dd> <dt><span class="strong">Returns:</span></dt><dd>a declaration-confirm method to indicate the exchange was successfully declared</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Declare.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Declare</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.DeclareOk</code></a></dd></dl> </li> </ul> <a name="exchangeDeclareNoWait(java.lang.String, java.lang.String, boolean, boolean, boolean, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDeclareNoWait</h4> <pre>public void exchangeDeclareNoWait(java.lang.String exchange, java.lang.String type, boolean durable, boolean autoDelete, boolean internal, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclareNoWait(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">Channel</a></code></strong></div> <div class="block">Like <a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map)"><code>Channel.exchangeDeclare(String, String, boolean, boolean, java.util.Map)</code></a> but sets nowait parameter to true and returns nothing (as there will be no response from the server).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclareNoWait(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">exchangeDeclareNoWait</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the name of the exchange</dd><dd><code>type</code> - the exchange type</dd><dd><code>durable</code> - true if we are declaring a durable exchange (the exchange will survive a server restart)</dd><dd><code>autoDelete</code> - true if the server should delete the exchange when it is no longer in use</dd><dd><code>internal</code> - true if the exchange is internal, i.e. can't be directly published to by a client.</dd><dd><code>arguments</code> - other properties (construction arguments) for the exchange</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd></dl> </li> </ul> <a name="exchangeDeclare(java.lang.String, java.lang.String, boolean, boolean, boolean, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDeclare</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a> exchangeDeclare(java.lang.String exchange, java.lang.String type, boolean durable, boolean autoDelete, boolean internal, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Declare an exchange, via an interface that allows the complete set of arguments.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">exchangeDeclare</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the name of the exchange</dd><dd><code>type</code> - the exchange type</dd><dd><code>durable</code> - true if we are declaring a durable exchange (the exchange will survive a server restart)</dd><dd><code>autoDelete</code> - true if the server should delete the exchange when it is no longer in use</dd><dd><code>internal</code> - true if the exchange is internal, i.e. can't be directly published to by a client.</dd><dd><code>arguments</code> - other properties (construction arguments) for the exchange</dd> <dt><span class="strong">Returns:</span></dt><dd>a declaration-confirm method to indicate the exchange was successfully declared</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Declare.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Declare</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.DeclareOk</code></a></dd></dl> </li> </ul> <a name="exchangeDeclare(java.lang.String, java.lang.String, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDeclare</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a> exchangeDeclare(java.lang.String exchange, java.lang.String type, boolean durable) throws java.io.IOException</pre> <div class="block">Public API - Actively declare a non-autodelete exchange with no extra arguments</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String,%20java.lang.String,%20boolean)">exchangeDeclare</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the name of the exchange</dd><dd><code>type</code> - the exchange type</dd><dd><code>durable</code> - true if we are declaring a durable exchange (the exchange will survive a server restart)</dd> <dt><span class="strong">Returns:</span></dt><dd>a declaration-confirm method to indicate the exchange was successfully declared</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Declare.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Declare</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.DeclareOk</code></a></dd></dl> </li> </ul> <a name="exchangeDeclare(java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDeclare</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a> exchangeDeclare(java.lang.String exchange, java.lang.String type) throws java.io.IOException</pre> <div class="block">Public API - Actively declare a non-autodelete, non-durable exchange with no extra arguments</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String,%20java.lang.String)">exchangeDeclare</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the name of the exchange</dd><dd><code>type</code> - the exchange type</dd> <dt><span class="strong">Returns:</span></dt><dd>a declaration-confirm method to indicate the exchange was successfully declared</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Declare.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Declare</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.DeclareOk</code></a></dd></dl> </li> </ul> <a name="exchangeDeclarePassive(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDeclarePassive</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeclareOk</a> exchangeDeclarePassive(java.lang.String exchange) throws java.io.IOException</pre> <div class="block">Public API - Declare an exchange passively; that is, check if the named exchange exists.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeclarePassive(java.lang.String)">exchangeDeclarePassive</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - check the existence of an exchange named this</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - the server will raise a 404 channel exception if the named exchange does not exist.</dd></dl> </li> </ul> <a name="exchangeDelete(java.lang.String, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDelete</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeleteOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeleteOk</a> exchangeDelete(java.lang.String exchange, boolean ifUnused) throws java.io.IOException</pre> <div class="block">Public API - Delete an exchange</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDelete(java.lang.String,%20boolean)">exchangeDelete</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the name of the exchange</dd><dd><code>ifUnused</code> - true to indicate that the exchange is only to be deleted if it is unused</dd> <dt><span class="strong">Returns:</span></dt><dd>a deletion-confirm method to indicate the exchange was successfully deleted</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Delete.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Delete</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.DeleteOk</code></a></dd></dl> </li> </ul> <a name="exchangeDeleteNoWait(java.lang.String, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDeleteNoWait</h4> <pre>public void exchangeDeleteNoWait(java.lang.String exchange, boolean ifUnused) throws java.io.IOException</pre> <div class="block">Public API - Like <a href="../../../../com/rabbitmq/client/Channel.html#exchangeDelete(java.lang.String,%20boolean)"><code>Channel.exchangeDelete(String, boolean)</code></a> but sets nowait parameter to true and returns void (as there will be no response from the server).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDeleteNoWait(java.lang.String,%20boolean)">exchangeDeleteNoWait</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the name of the exchange</dd><dd><code>ifUnused</code> - true to indicate that the exchange is only to be deleted if it is unused</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Delete.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Delete</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.DeleteOk</code></a></dd></dl> </li> </ul> <a name="exchangeDelete(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeDelete</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.DeleteOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.DeleteOk</a> exchangeDelete(java.lang.String exchange) throws java.io.IOException</pre> <div class="block">Public API - Delete an exchange, without regard for whether it is in use or not</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeDelete(java.lang.String)">exchangeDelete</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>exchange</code> - the name of the exchange</dd> <dt><span class="strong">Returns:</span></dt><dd>a deletion-confirm method to indicate the exchange was successfully deleted</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Delete.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Delete</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.DeleteOk</code></a></dd></dl> </li> </ul> <a name="exchangeBind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeBind</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.BindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.BindOk</a> exchangeBind(java.lang.String destination, java.lang.String source, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Bind an exchange to an exchange.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeBind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">exchangeBind</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>destination</code> - the name of the exchange to which messages flow across the binding</dd><dd><code>source</code> - the name of the exchange from which messages flow across the binding</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd><dd><code>arguments</code> - other properties (binding parameters)</dd> <dt><span class="strong">Returns:</span></dt><dd>a binding-confirm method if the binding was successfully created</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Bind.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Bind</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.BindOk</code></a></dd></dl> </li> </ul> <a name="exchangeBindNoWait(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeBindNoWait</h4> <pre>public void exchangeBindNoWait(java.lang.String destination, java.lang.String source, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Like <a href="../../../../com/rabbitmq/client/Channel.html#exchangeBind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)"><code>Channel.exchangeBind(String, String, String, java.util.Map)</code></a> but sets nowait parameter to true and returns void (as there will be no response from the server).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeBindNoWait(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">exchangeBindNoWait</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>destination</code> - the name of the exchange to which messages flow across the binding</dd><dd><code>source</code> - the name of the exchange from which messages flow across the binding</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd><dd><code>arguments</code> - other properties (binding parameters)</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd></dl> </li> </ul> <a name="exchangeBind(java.lang.String, java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeBind</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.BindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.BindOk</a> exchangeBind(java.lang.String destination, java.lang.String source, java.lang.String routingKey) throws java.io.IOException</pre> <div class="block">Public API - Bind an exchange to an exchange, with no extra arguments.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeBind(java.lang.String,%20java.lang.String,%20java.lang.String)">exchangeBind</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>destination</code> - the name of the exchange to which messages flow across the binding</dd><dd><code>source</code> - the name of the exchange from which messages flow across the binding</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd> <dt><span class="strong">Returns:</span></dt><dd>a binding-confirm method if the binding was successfully created</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Bind.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Bind</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.BindOk</code></a></dd></dl> </li> </ul> <a name="exchangeUnbind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeUnbind</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.UnbindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.UnbindOk</a> exchangeUnbind(java.lang.String destination, java.lang.String source, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Unbind an exchange from an exchange.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeUnbind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">exchangeUnbind</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>destination</code> - the name of the exchange to which messages flow across the binding</dd><dd><code>source</code> - the name of the exchange from which messages flow across the binding</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd><dd><code>arguments</code> - other properties (binding parameters)</dd> <dt><span class="strong">Returns:</span></dt><dd>a binding-confirm method if the binding was successfully created</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Bind.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Bind</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.BindOk</code></a></dd></dl> </li> </ul> <a name="exchangeUnbind(java.lang.String, java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeUnbind</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Exchange.UnbindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Exchange.UnbindOk</a> exchangeUnbind(java.lang.String destination, java.lang.String source, java.lang.String routingKey) throws java.io.IOException</pre> <div class="block">Public API - Unbind an exchange from an exchange, with no extra arguments.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeUnbind(java.lang.String,%20java.lang.String,%20java.lang.String)">exchangeUnbind</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>destination</code> - the name of the exchange to which messages flow across the binding</dd><dd><code>source</code> - the name of the exchange from which messages flow across the binding</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd> <dt><span class="strong">Returns:</span></dt><dd>a binding-confirm method if the binding was successfully created</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Exchange.Bind.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.Bind</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Exchange.BindOk</code></a></dd></dl> </li> </ul> <a name="exchangeUnbindNoWait(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>exchangeUnbindNoWait</h4> <pre>public void exchangeUnbindNoWait(java.lang.String destination, java.lang.String source, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Same as <a href="../../../../com/rabbitmq/client/Channel.html#exchangeUnbind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)"><code>Channel.exchangeUnbind(String, String, String, java.util.Map)</code></a> but sets no-wait parameter to true and returns nothing (as there will be no response from the server).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#exchangeUnbindNoWait(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">exchangeUnbindNoWait</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>destination</code> - the name of the exchange to which messages flow across the binding</dd><dd><code>source</code> - the name of the exchange from which messages flow across the binding</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd><dd><code>arguments</code> - other properties (binding parameters)</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd></dl> </li> </ul> <a name="queueDeclare(java.lang.String, boolean, boolean, boolean, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueDeclare</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.DeclareOk</a> queueDeclare(java.lang.String queue, boolean durable, boolean exclusive, boolean autoDelete, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Declare a queue</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueDeclare(java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">queueDeclare</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>durable</code> - true if we are declaring a durable queue (the queue will survive a server restart)</dd><dd><code>exclusive</code> - true if we are declaring an exclusive queue (restricted to this connection)</dd><dd><code>autoDelete</code> - true if we are declaring an autodelete queue (server will delete it when no longer in use)</dd><dd><code>arguments</code> - other properties (construction arguments) for the queue</dd> <dt><span class="strong">Returns:</span></dt><dd>a declaration-confirm method to indicate the queue was successfully declared</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Declare.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Declare</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.DeclareOk</code></a></dd></dl> </li> </ul> <a name="queueDeclare()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueDeclare</h4> <pre>public <a href="../../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeclareOk</a> queueDeclare() throws java.io.IOException</pre> <div class="block">Public API - Actively declare a server-named exclusive, autodelete, non-durable queue. The name of the new queue is held in the "queue" field of the <a href="../../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.DeclareOk</code></a> result.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueDeclare()">queueDeclare</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>a declaration-confirm method to indicate the queue was successfully declared</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Declare.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Declare</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.DeclareOk</code></a></dd></dl> </li> </ul> <a name="queueDeclareNoWait(java.lang.String, boolean, boolean, boolean, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueDeclareNoWait</h4> <pre>public void queueDeclareNoWait(java.lang.String queue, boolean durable, boolean exclusive, boolean autoDelete, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Like <a href="../../../../com/rabbitmq/client/Channel.html#queueDeclare(java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)"><code>Channel.queueDeclare(String, boolean, boolean, boolean, java.util.Map)</code></a> but sets nowait flag to true and returns no result (as there will be no response from the server).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueDeclareNoWait(java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)">queueDeclareNoWait</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>durable</code> - true if we are declaring a durable queue (the queue will survive a server restart)</dd><dd><code>exclusive</code> - true if we are declaring an exclusive queue (restricted to this connection)</dd><dd><code>autoDelete</code> - true if we are declaring an autodelete queue (server will delete it when no longer in use)</dd><dd><code>arguments</code> - other properties (construction arguments) for the queue</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd></dl> </li> </ul> <a name="queueDeclarePassive(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueDeclarePassive</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.DeclareOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.DeclareOk</a> queueDeclarePassive(java.lang.String queue) throws java.io.IOException</pre> <div class="block">Public API - Declare a queue passively; i.e., check if it exists. In AMQP 0-9-1, all arguments aside from nowait are ignored; and sending nowait makes this method a no-op, so we default it to false.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueDeclarePassive(java.lang.String)">queueDeclarePassive</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd> <dt><span class="strong">Returns:</span></dt><dd>a declaration-confirm method to indicate the queue exists</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered, including if the queue does not exist and if the queue is exclusively owned by another connection.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Declare.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Declare</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.DeclareOk</code></a></dd></dl> </li> </ul> <a name="messageCount(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>messageCount</h4> <pre>public long messageCount(java.lang.String queue) throws java.io.IOException</pre> <div class="block">Public API - Returns the number of messages in a queue ready to be delivered to consumers. This method assumes the queue exists. If it doesn't, an exception will be closed with an exception.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#messageCount(java.lang.String)">messageCount</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd> <dt><span class="strong">Returns:</span></dt><dd>the number of messages in ready state</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - Problem transmitting method.</dd></dl> </li> </ul> <a name="consumerCount(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>consumerCount</h4> <pre>public long consumerCount(java.lang.String queue) throws java.io.IOException</pre> <div class="block">Public API - Returns the number of consumers on a queue. This method assumes the queue exists. If it doesn't, an exception will be closed with an exception.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#consumerCount(java.lang.String)">consumerCount</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd> <dt><span class="strong">Returns:</span></dt><dd>the number of consumers</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - Problem transmitting method.</dd></dl> </li> </ul> <a name="queueDelete(java.lang.String, boolean, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueDelete</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.DeleteOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.DeleteOk</a> queueDelete(java.lang.String queue, boolean ifUnused, boolean ifEmpty) throws java.io.IOException</pre> <div class="block">Public API - Delete a queue</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueDelete(java.lang.String,%20boolean,%20boolean)">queueDelete</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>ifUnused</code> - true if the queue should be deleted only if not in use</dd><dd><code>ifEmpty</code> - true if the queue should be deleted only if empty</dd> <dt><span class="strong">Returns:</span></dt><dd>a deletion-confirm method to indicate the queue was successfully deleted</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Delete.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Delete</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.DeleteOk</code></a></dd></dl> </li> </ul> <a name="queueDeleteNoWait(java.lang.String, boolean, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueDeleteNoWait</h4> <pre>public void queueDeleteNoWait(java.lang.String queue, boolean ifUnused, boolean ifEmpty) throws java.io.IOException</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#queueDeleteNoWait(java.lang.String,%20boolean,%20boolean)">Channel</a></code></strong></div> <div class="block">Like <a href="../../../../com/rabbitmq/client/Channel.html#queueDelete(java.lang.String,%20boolean,%20boolean)"><code>Channel.queueDelete(String, boolean, boolean)</code></a> but sets nowait parameter to true and returns nothing (as there will be no response from the server).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueDeleteNoWait(java.lang.String,%20boolean,%20boolean)">queueDeleteNoWait</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>ifUnused</code> - true if the queue should be deleted only if not in use</dd><dd><code>ifEmpty</code> - true if the queue should be deleted only if empty</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Delete.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Delete</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.DeleteOk</code></a></dd></dl> </li> </ul> <a name="queueDelete(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueDelete</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.DeleteOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.DeleteOk</a> queueDelete(java.lang.String queue) throws java.io.IOException</pre> <div class="block">Public API - Delete a queue, without regard for whether it is in use or has messages on it</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueDelete(java.lang.String)">queueDelete</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd> <dt><span class="strong">Returns:</span></dt><dd>a deletion-confirm method to indicate the queue was successfully deleted</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Delete.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Delete</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.DeleteOk</code></a></dd></dl> </li> </ul> <a name="queueBind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueBind</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.BindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.BindOk</a> queueBind(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Bind a queue to an exchange.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueBind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">queueBind</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>exchange</code> - the name of the exchange</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd><dd><code>arguments</code> - other properties (binding parameters)</dd> <dt><span class="strong">Returns:</span></dt><dd>a binding-confirm method if the binding was successfully created</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Bind.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Bind</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.BindOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.BindOk</code></a></dd></dl> </li> </ul> <a name="queueBind(java.lang.String, java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueBind</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.BindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.BindOk</a> queueBind(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey) throws java.io.IOException</pre> <div class="block">Public API - Bind a queue to an exchange, with no extra arguments.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueBind(java.lang.String,%20java.lang.String,%20java.lang.String)">queueBind</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>exchange</code> - the name of the exchange</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd> <dt><span class="strong">Returns:</span></dt><dd>a binding-confirm method if the binding was successfully created</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Bind.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Bind</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.BindOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.BindOk</code></a></dd></dl> </li> </ul> <a name="queueBindNoWait(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueBindNoWait</h4> <pre>public void queueBindNoWait(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Same as <a href="../../../../com/rabbitmq/client/Channel.html#queueDeclare(java.lang.String,%20boolean,%20boolean,%20boolean,%20java.util.Map)"><code>Channel.queueDeclare(String, boolean, boolean, boolean, java.util.Map)</code></a> but sets nowait parameter to true and returns void (as there will be no response from the server).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueBindNoWait(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">queueBindNoWait</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>exchange</code> - the name of the exchange</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd><dd><code>arguments</code> - other properties (binding parameters)</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd></dl> </li> </ul> <a name="queueUnbind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueUnbind</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.UnbindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.UnbindOk</a> queueUnbind(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey, java.util.Map<java.lang.String,java.lang.Object> arguments) throws java.io.IOException</pre> <div class="block">Public API - Unbind a queue from an exchange.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueUnbind(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.util.Map)">queueUnbind</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>exchange</code> - the name of the exchange</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd><dd><code>arguments</code> - other properties (binding parameters)</dd> <dt><span class="strong">Returns:</span></dt><dd>an unbinding-confirm method if the binding was successfully deleted</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Unbind.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Unbind</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.UnbindOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.UnbindOk</code></a></dd></dl> </li> </ul> <a name="queuePurge(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queuePurge</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.PurgeOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.PurgeOk</a> queuePurge(java.lang.String queue) throws java.io.IOException</pre> <div class="block">Public API - Purges the contents of the given queue.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queuePurge(java.lang.String)">queuePurge</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd> <dt><span class="strong">Returns:</span></dt><dd>a purge-confirm method if the purge was executed successfully</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Purge.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Purge</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.PurgeOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.PurgeOk</code></a></dd></dl> </li> </ul> <a name="queueUnbind(java.lang.String, java.lang.String, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>queueUnbind</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Queue.UnbindOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Queue.UnbindOk</a> queueUnbind(java.lang.String queue, java.lang.String exchange, java.lang.String routingKey) throws java.io.IOException</pre> <div class="block">Public API - Unbinds a queue from an exchange, with no extra arguments.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#queueUnbind(java.lang.String,%20java.lang.String,%20java.lang.String)">queueUnbind</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>exchange</code> - the name of the exchange</dd><dd><code>routingKey</code> - the routine key to use for the binding</dd> <dt><span class="strong">Returns:</span></dt><dd>an unbinding-confirm method if the binding was successfully deleted</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Queue.Unbind.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.Unbind</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Queue.UnbindOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Queue.UnbindOk</code></a></dd></dl> </li> </ul> <a name="basicGet(java.lang.String, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicGet</h4> <pre>public <a href="../../../../com/rabbitmq/client/GetResponse.html" title="class in com.rabbitmq.client">GetResponse</a> basicGet(java.lang.String queue, boolean autoAck) throws java.io.IOException</pre> <div class="block">Public API - Retrieve a message from a queue using <a href="../../../../com/rabbitmq/client/AMQP.Basic.Get.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Get</code></a></div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicGet(java.lang.String,%20boolean)">basicGet</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>autoAck</code> - true if the server should consider messages acknowledged once delivered; false if the server should expect explicit acknowledgements</dd> <dt><span class="strong">Returns:</span></dt><dd>a <a href="../../../../com/rabbitmq/client/GetResponse.html" title="class in com.rabbitmq.client"><code>GetResponse</code></a> containing the retrieved message data</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Get.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Get</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetEmpty.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetEmpty</code></a></dd></dl> </li> </ul> <a name="basicAck(long, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicAck</h4> <pre>public void basicAck(long deliveryTag, boolean multiple) throws java.io.IOException</pre> <div class="block">Public API - Acknowledge one or several received messages. Supply the deliveryTag from the <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a> or <a href="../../../../com/rabbitmq/client/AMQP.Basic.Deliver.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Deliver</code></a> method containing the received message being acknowledged.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicAck(long,%20boolean)">basicAck</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>deliveryTag</code> - the tag from the received <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a> or <a href="../../../../com/rabbitmq/client/AMQP.Basic.Deliver.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Deliver</code></a></dd><dd><code>multiple</code> - true to acknowledge all messages up to and including the supplied delivery tag; false to acknowledge just the supplied delivery tag.</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Ack.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Ack</code></a></dd></dl> </li> </ul> <a name="basicNack(long, boolean, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicNack</h4> <pre>public void basicNack(long deliveryTag, boolean multiple, boolean requeue) throws java.io.IOException</pre> <div class="block">Public API - Reject one or several received messages. Supply the <code>deliveryTag</code> from the <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a> or <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a> method containing the message to be rejected.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicNack(long,%20boolean,%20boolean)">basicNack</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>deliveryTag</code> - the tag from the received <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a> or <a href="../../../../com/rabbitmq/client/AMQP.Basic.Deliver.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Deliver</code></a></dd><dd><code>multiple</code> - true to reject all messages up to and including the supplied delivery tag; false to reject just the supplied delivery tag.</dd><dd><code>requeue</code> - true if the rejected message(s) should be requeued rather than discarded/dead-lettered</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Nack.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Nack</code></a></dd></dl> </li> </ul> <a name="basicReject(long, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicReject</h4> <pre>public void basicReject(long deliveryTag, boolean requeue) throws java.io.IOException</pre> <div class="block">Public API - Reject a message. Supply the deliveryTag from the <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a> or <a href="../../../../com/rabbitmq/client/AMQP.Basic.Deliver.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Deliver</code></a> method containing the received message being rejected.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicReject(long,%20boolean)">basicReject</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>deliveryTag</code> - the tag from the received <a href="../../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a> or <a href="../../../../com/rabbitmq/client/AMQP.Basic.Deliver.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Deliver</code></a></dd><dd><code>requeue</code> - true if the rejected message should be requeued rather than discarded/dead-lettered</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Reject.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Reject</code></a></dd></dl> </li> </ul> <a name="basicConsume(java.lang.String, com.rabbitmq.client.Consumer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicConsume</h4> <pre>public java.lang.String basicConsume(java.lang.String queue, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback) throws java.io.IOException</pre> <div class="block">Public API - Start a non-nolocal, non-exclusive consumer, with explicit acknowledgement and a server-generated consumerTag.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20com.rabbitmq.client.Consumer)">basicConsume</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>callback</code> - an interface to the consumer object</dd> <dt><span class="strong">Returns:</span></dt><dd>the consumerTag generated by the server</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Consume</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.ConsumeOk</code></a>, <a href="../../../../com/rabbitmq/client/Channel.html#basicAck(long,%20boolean)"><code>Channel.basicAck(long, boolean)</code></a>, <a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20boolean,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map,%20com.rabbitmq.client.Consumer)"><code>Channel.basicConsume(String, boolean, String, boolean, boolean, Map, Consumer)</code></a></dd></dl> </li> </ul> <a name="basicConsume(java.lang.String, boolean, com.rabbitmq.client.Consumer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicConsume</h4> <pre>public java.lang.String basicConsume(java.lang.String queue, boolean autoAck, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback) throws java.io.IOException</pre> <div class="block">Public API - Start a non-nolocal, non-exclusive consumer, with a server-generated consumerTag.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20boolean,%20com.rabbitmq.client.Consumer)">basicConsume</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>autoAck</code> - true if the server should consider messages acknowledged once delivered; false if the server should expect explicit acknowledgements</dd><dd><code>callback</code> - an interface to the consumer object</dd> <dt><span class="strong">Returns:</span></dt><dd>the consumerTag generated by the server</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Consume</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.ConsumeOk</code></a>, <a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20boolean,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map,%20com.rabbitmq.client.Consumer)"><code>Channel.basicConsume(String, boolean, String, boolean, boolean, Map, Consumer)</code></a></dd></dl> </li> </ul> <a name="basicConsume(java.lang.String, boolean, java.util.Map, com.rabbitmq.client.Consumer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicConsume</h4> <pre>public java.lang.String basicConsume(java.lang.String queue, boolean autoAck, java.util.Map<java.lang.String,java.lang.Object> arguments, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback) throws java.io.IOException</pre> <div class="block">Public API - Start a non-nolocal, non-exclusive consumer, with a server-generated consumerTag and specified arguments.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20boolean,%20java.util.Map,%20com.rabbitmq.client.Consumer)">basicConsume</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>autoAck</code> - true if the server should consider messages acknowledged once delivered; false if the server should expect explicit acknowledgements</dd><dd><code>arguments</code> - a set of arguments for the consume</dd><dd><code>callback</code> - an interface to the consumer object</dd> <dt><span class="strong">Returns:</span></dt><dd>the consumerTag generated by the server</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Consume</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.ConsumeOk</code></a>, <a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20boolean,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map,%20com.rabbitmq.client.Consumer)"><code>Channel.basicConsume(String, boolean, String, boolean, boolean, Map, Consumer)</code></a></dd></dl> </li> </ul> <a name="basicConsume(java.lang.String, boolean, java.lang.String, com.rabbitmq.client.Consumer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicConsume</h4> <pre>public java.lang.String basicConsume(java.lang.String queue, boolean autoAck, java.lang.String consumerTag, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback) throws java.io.IOException</pre> <div class="block">Public API - Start a non-nolocal, non-exclusive consumer.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20boolean,%20java.lang.String,%20com.rabbitmq.client.Consumer)">basicConsume</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>autoAck</code> - true if the server should consider messages acknowledged once delivered; false if the server should expect explicit acknowledgements</dd><dd><code>consumerTag</code> - a client-generated consumer tag to establish context</dd><dd><code>callback</code> - an interface to the consumer object</dd> <dt><span class="strong">Returns:</span></dt><dd>the consumerTag associated with the new consumer</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Consume</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.ConsumeOk</code></a>, <a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20boolean,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map,%20com.rabbitmq.client.Consumer)"><code>Channel.basicConsume(String, boolean, String, boolean, boolean, Map, Consumer)</code></a></dd></dl> </li> </ul> <a name="basicConsume(java.lang.String, boolean, java.lang.String, boolean, boolean, java.util.Map, com.rabbitmq.client.Consumer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicConsume</h4> <pre>public java.lang.String basicConsume(java.lang.String queue, boolean autoAck, java.lang.String consumerTag, boolean noLocal, boolean exclusive, java.util.Map<java.lang.String,java.lang.Object> arguments, <a href="../../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</a> callback) throws java.io.IOException</pre> <div class="block">Public API - Start a consumer. Calls the consumer's <a href="../../../../com/rabbitmq/client/Consumer.html#handleConsumeOk(java.lang.String)"><code>Consumer.handleConsumeOk(java.lang.String)</code></a> method.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String,%20boolean,%20java.lang.String,%20boolean,%20boolean,%20java.util.Map,%20com.rabbitmq.client.Consumer)">basicConsume</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>queue</code> - the name of the queue</dd><dd><code>autoAck</code> - true if the server should consider messages acknowledged once delivered; false if the server should expect explicit acknowledgements</dd><dd><code>consumerTag</code> - a client-generated consumer tag to establish context</dd><dd><code>noLocal</code> - true if the server should not deliver to this consumer messages published on this channel's connection</dd><dd><code>exclusive</code> - true if this is an exclusive consumer</dd><dd><code>arguments</code> - a set of arguments for the consume</dd><dd><code>callback</code> - an interface to the consumer object</dd> <dt><span class="strong">Returns:</span></dt><dd>the consumerTag associated with the new consumer</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Consume</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.ConsumeOk</code></a></dd></dl> </li> </ul> <a name="basicCancel(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicCancel</h4> <pre>public void basicCancel(java.lang.String consumerTag) throws java.io.IOException</pre> <div class="block">Public API - Cancel a consumer. Calls the consumer's <a href="../../../../com/rabbitmq/client/Consumer.html#handleCancelOk(java.lang.String)"><code>Consumer.handleCancelOk(java.lang.String)</code></a> method.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicCancel(java.lang.String)">basicCancel</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>consumerTag</code> - a client- or server-generated consumer tag to establish context</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered, or if the consumerTag is unknown</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Basic.Cancel.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Cancel</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Basic.CancelOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.CancelOk</code></a></dd></dl> </li> </ul> <a name="basicRecover()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicRecover</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Basic.RecoverOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Basic.RecoverOk</a> basicRecover() throws java.io.IOException</pre> <div class="block">Public API - Ask the broker to resend unacknowledged messages. In 0-8 basic.recover is asynchronous; in 0-9-1 it is synchronous, and the new, deprecated method basic.recover_async is asynchronous. <p/> Equivalent to calling <code>basicRecover(true)</code>, messages will be requeued and possibly delivered to a different consumer.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicRecover()">basicRecover</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/Channel.html#basicRecover(boolean)"><code>Channel.basicRecover(boolean)</code></a></dd></dl> </li> </ul> <a name="basicRecover(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>basicRecover</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Basic.RecoverOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Basic.RecoverOk</a> basicRecover(boolean requeue) throws java.io.IOException</pre> <div class="block">Public API - Ask the broker to resend unacknowledged messages. In 0-8 basic.recover is asynchronous; in 0-9-1 it is synchronous, and the new, deprecated method basic.recover_async is asynchronous.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#basicRecover(boolean)">basicRecover</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>requeue</code> - If true, messages will be requeued and possibly delivered to a different consumer. If false, messages will be redelivered to the same consumer.</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code></dd></dl> </li> </ul> <a name="txSelect()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>txSelect</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Tx.SelectOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Tx.SelectOk</a> txSelect() throws java.io.IOException</pre> <div class="block">Public API - Enables TX mode on this channel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#txSelect()">txSelect</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>a transaction-selection method to indicate the transaction was successfully initiated</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Tx.Select.html" title="interface in com.rabbitmq.client"><code>AMQP.Tx.Select</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Tx.SelectOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Tx.SelectOk</code></a></dd></dl> </li> </ul> <a name="txCommit()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>txCommit</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Tx.CommitOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Tx.CommitOk</a> txCommit() throws java.io.IOException</pre> <div class="block">Public API - Commits a TX transaction on this channel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#txCommit()">txCommit</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>a transaction-commit method to indicate the transaction was successfully committed</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Tx.Commit.html" title="interface in com.rabbitmq.client"><code>AMQP.Tx.Commit</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Tx.CommitOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Tx.CommitOk</code></a></dd></dl> </li> </ul> <a name="txRollback()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>txRollback</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Tx.RollbackOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Tx.RollbackOk</a> txRollback() throws java.io.IOException</pre> <div class="block">Public API - Rolls back a TX transaction on this channel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#txRollback()">txRollback</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>a transaction-rollback method to indicate the transaction was successfully rolled back</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Tx.Rollback.html" title="interface in com.rabbitmq.client"><code>AMQP.Tx.Rollback</code></a>, <a href="../../../../com/rabbitmq/client/AMQP.Tx.RollbackOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Tx.RollbackOk</code></a></dd></dl> </li> </ul> <a name="confirmSelect()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>confirmSelect</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQImpl.Confirm.SelectOk.html" title="class in com.rabbitmq.client.impl">AMQImpl.Confirm.SelectOk</a> confirmSelect() throws java.io.IOException</pre> <div class="block">Public API - Enables publisher acknowledgements on this channel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#confirmSelect()">confirmSelect</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - if an error is encountered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../com/rabbitmq/client/AMQP.Confirm.Select.html" title="interface in com.rabbitmq.client"><code>AMQP.Confirm.Select</code></a></dd></dl> </li> </ul> <a name="flowBlocked()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>flowBlocked</h4> <pre>@Deprecated public boolean flowBlocked()</pre> <div class="block"><span class="strong">Deprecated.</span> </div> <div class="block">Public API - Deprecated, superseded by TCP back pressure.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#flowBlocked()">flowBlocked</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">See Also:</span></dt><dd><a href="http://www.rabbitmq.com/alarms.html">Resource-driven alarms</a></dd></dl> </li> </ul> <a name="getNextPublishSeqNo()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getNextPublishSeqNo</h4> <pre>public long getNextPublishSeqNo()</pre> <div class="block">Public API - When in confirm mode, returns the sequence number of the next message to be published.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#getNextPublishSeqNo()">getNextPublishSeqNo</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>the sequence number of the next message to be published</dd></dl> </li> </ul> <a name="asyncRpc(com.rabbitmq.client.Method)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>asyncRpc</h4> <pre>public void asyncRpc(<a href="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</a> method) throws java.io.IOException</pre> <div class="block"><strong>Description copied from interface: <code><a href="../../../../com/rabbitmq/client/Channel.html#asyncRpc(com.rabbitmq.client.Method)">Channel</a></code></strong></div> <div class="block">Asynchronously send a method over this channel.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#asyncRpc(com.rabbitmq.client.Method)">asyncRpc</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>method</code> - method to transmit over this channel.</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - Problem transmitting method.</dd></dl> </li> </ul> <a name="rpc(com.rabbitmq.client.Method)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>rpc</h4> <pre>public <a href="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</a> rpc(<a href="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</a> method) throws java.io.IOException</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#rpc(com.rabbitmq.client.Method)">AMQChannel</a></code></strong></div> <div class="block">Protected API - sends a <a href="../../../../com/rabbitmq/client/impl/Method.html" title="class in com.rabbitmq.client.impl"><code>Method</code></a> to the broker and waits for the next in-bound Command from the broker: only for use from non-connection-MainLoop threads!</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/Channel.html#rpc(com.rabbitmq.client.Method)">rpc</a></code> in interface <code><a href="../../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</a></code></dd> <dt><strong>Overrides:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#rpc(com.rabbitmq.client.Method)">rpc</a></code> in class <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>method</code> - method to transmit over this channel.</dd> <dt><span class="strong">Returns:</span></dt><dd>command response to method. Caller should cast as appropriate.</dd> <dt><span class="strong">Throws:</span></dt> <dd><code>java.io.IOException</code> - Problem transmitting method.</dd></dl> </li> </ul> <a name="enqueueRpc(com.rabbitmq.client.impl.AMQChannel.RpcContinuation)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>enqueueRpc</h4> <pre>public void enqueueRpc(<a href="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</a> k)</pre> <dl> <dt><strong>Overrides:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#enqueueRpc(com.rabbitmq.client.impl.AMQChannel.RpcContinuation)">enqueueRpc</a></code> in class <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a></code></dd> </dl> </li> </ul> <a name="markRpcFinished()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>markRpcFinished</h4> <pre>protected void markRpcFinished()</pre> <dl> <dt><strong>Overrides:</strong></dt> <dd><code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html#markRpcFinished()">markRpcFinished</a></code> in class <code><a href="../../../../com/rabbitmq/client/impl/AMQChannel.html" title="class in com.rabbitmq.client.impl">AMQChannel</a></code></dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../com/rabbitmq/client/impl/ChannelManager.html" title="class in com.rabbitmq.client.impl"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../com/rabbitmq/client/impl/ClientVersion.html" title="class in com.rabbitmq.client.impl"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/rabbitmq/client/impl/ChannelN.html" target="_top">Frames</a></li> <li><a href="ChannelN.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested_classes_inherited_from_class_com.rabbitmq.client.impl.AMQChannel">Nested</a> | </li> <li><a href="#fields_inherited_from_class_com.rabbitmq.client.impl.AMQChannel">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>