[33] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
| 2 | <!--NewPage--> |
---|
| 3 | <HTML> |
---|
| 4 | <HEAD> |
---|
| 5 | <!-- Generated by javadoc (build 1.6.0_18) on Tue Dec 11 11:47:09 GMT 2012 --> |
---|
| 6 | <TITLE> |
---|
| 7 | Channel |
---|
| 8 | </TITLE> |
---|
| 9 | |
---|
| 10 | <META NAME="date" CONTENT="2012-12-11"> |
---|
| 11 | |
---|
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
---|
| 13 | |
---|
| 14 | <SCRIPT type="text/javascript"> |
---|
| 15 | function windowTitle() |
---|
| 16 | { |
---|
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
| 18 | parent.document.title="Channel"; |
---|
| 19 | } |
---|
| 20 | } |
---|
| 21 | </SCRIPT> |
---|
| 22 | <NOSCRIPT> |
---|
| 23 | </NOSCRIPT> |
---|
| 24 | |
---|
| 25 | </HEAD> |
---|
| 26 | |
---|
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
| 28 | <HR> |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
| 32 | <A NAME="navbar_top"><!-- --></A> |
---|
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 35 | <TR> |
---|
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 39 | <TR ALIGN="center" VALIGN="top"> |
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 47 | </TR> |
---|
| 48 | </TABLE> |
---|
| 49 | </TD> |
---|
| 50 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 51 | </EM> |
---|
| 52 | </TD> |
---|
| 53 | </TR> |
---|
| 54 | |
---|
| 55 | <TR> |
---|
| 56 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 57 | <A HREF="../../../com/rabbitmq/client/BasicProperties.html" title="interface in com.rabbitmq.client"><B>PREV CLASS</B></A> |
---|
| 58 | <A HREF="../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 59 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 60 | <A HREF="../../../index.html?com/rabbitmq/client/Channel.html" target="_top"><B>FRAMES</B></A> |
---|
| 61 | <A HREF="Channel.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 62 | <SCRIPT type="text/javascript"> |
---|
| 63 | <!-- |
---|
| 64 | if(window==top) { |
---|
| 65 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 66 | } |
---|
| 67 | //--> |
---|
| 68 | </SCRIPT> |
---|
| 69 | <NOSCRIPT> |
---|
| 70 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 71 | </NOSCRIPT> |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | </FONT></TD> |
---|
| 75 | </TR> |
---|
| 76 | <TR> |
---|
| 77 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 78 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 79 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 80 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 81 | </TR> |
---|
| 82 | </TABLE> |
---|
| 83 | <A NAME="skip-navbar_top"></A> |
---|
| 84 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
| 85 | |
---|
| 86 | <HR> |
---|
| 87 | <!-- ======== START OF CLASS DATA ======== --> |
---|
| 88 | <H2> |
---|
| 89 | <FONT SIZE="-1"> |
---|
| 90 | com.rabbitmq.client</FONT> |
---|
| 91 | <BR> |
---|
| 92 | Interface Channel</H2> |
---|
| 93 | <DL> |
---|
| 94 | <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../com/rabbitmq/client/ShutdownNotifier.html" title="interface in com.rabbitmq.client">ShutdownNotifier</A></DD> |
---|
| 95 | </DL> |
---|
| 96 | <DL> |
---|
| 97 | <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../com/rabbitmq/client/impl/ChannelN.html" title="class in com.rabbitmq.client.impl">ChannelN</A></DD> |
---|
| 98 | </DL> |
---|
| 99 | <HR> |
---|
| 100 | <DL> |
---|
| 101 | <DT><PRE>public interface <B>Channel</B><DT>extends <A HREF="../../../com/rabbitmq/client/ShutdownNotifier.html" title="interface in com.rabbitmq.client">ShutdownNotifier</A></DL> |
---|
| 102 | </PRE> |
---|
| 103 | |
---|
| 104 | <P> |
---|
| 105 | Public API: Interface to an AMQ channel. See the <a href="http://www.amqp.org/">spec</a> for details. |
---|
| 106 | |
---|
| 107 | <p> |
---|
| 108 | To open a channel, |
---|
| 109 | <pre> |
---|
| 110 | <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client"><CODE>Connection</CODE></A> conn = ...; |
---|
| 111 | <A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client"><CODE>Channel</CODE></A> channel = conn.<A HREF="../../../com/rabbitmq/client/Connection.html#createChannel()"><CODE>createChannel</CODE></A>(); |
---|
| 112 | </pre> |
---|
| 113 | <p> |
---|
| 114 | Public API: |
---|
| 115 | <ul> |
---|
| 116 | <li> getChannelNumber |
---|
| 117 | <li> close |
---|
| 118 | </ul> |
---|
| 119 | <p> |
---|
| 120 | |
---|
| 121 | <p> |
---|
| 122 | <A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client"><CODE>Channel</CODE></A> instances are safe for use by multiple |
---|
| 123 | threads. Requests into a <A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client"><CODE>Channel</CODE></A> are serialized, with only one |
---|
| 124 | thread running commands at a time. |
---|
| 125 | As such, applications may prefer using a <A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client"><CODE>Channel</CODE></A> per thread |
---|
| 126 | instead of sharing the same <code>Channel</code> across multiple threads. |
---|
| 127 | |
---|
| 128 | An <b>important caveat</b> to this is that confirms are <b>not</b> handled |
---|
| 129 | properly when a <A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client"><CODE>Channel</CODE></A> is shared between multiple threads. In that |
---|
| 130 | scenario, it is therefore important to ensure that the <A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client"><CODE>Channel</CODE></A> |
---|
| 131 | instance is <b>not</b> accessed concurrently by multiple threads. |
---|
| 132 | <P> |
---|
| 133 | |
---|
| 134 | <P> |
---|
| 135 | <HR> |
---|
| 136 | |
---|
| 137 | <P> |
---|
| 138 | |
---|
| 139 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 140 | |
---|
| 141 | <A NAME="method_summary"><!-- --></A> |
---|
| 142 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 143 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 144 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 145 | <B>Method Summary</B></FONT></TH> |
---|
| 146 | </TR> |
---|
| 147 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 148 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 149 | <CODE> void</CODE></FONT></TD> |
---|
| 150 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#abort()">abort</A></B>()</CODE> |
---|
| 151 | |
---|
| 152 | <BR> |
---|
| 153 | Abort this channel with the <A HREF="../../../com/rabbitmq/client/AMQP.html#REPLY_SUCCESS"><CODE>AMQP.REPLY_SUCCESS</CODE></A> close code |
---|
| 154 | and message 'OK'.</TD> |
---|
| 155 | </TR> |
---|
| 156 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 158 | <CODE> void</CODE></FONT></TD> |
---|
| 159 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#abort(int, java.lang.String)">abort</A></B>(int closeCode, |
---|
| 160 | java.lang.String closeMessage)</CODE> |
---|
| 161 | |
---|
| 162 | <BR> |
---|
| 163 | Abort this channel.</TD> |
---|
| 164 | </TR> |
---|
| 165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 167 | <CODE> void</CODE></FONT></TD> |
---|
| 168 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#addConfirmListener(com.rabbitmq.client.ConfirmListener)">addConfirmListener</A></B>(<A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client">ConfirmListener</A> listener)</CODE> |
---|
| 169 | |
---|
| 170 | <BR> |
---|
| 171 | Add a <A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><CODE>ConfirmListener</CODE></A>.</TD> |
---|
| 172 | </TR> |
---|
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 175 | <CODE> void</CODE></FONT></TD> |
---|
| 176 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#addFlowListener(com.rabbitmq.client.FlowListener)">addFlowListener</A></B>(<A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client">FlowListener</A> listener)</CODE> |
---|
| 177 | |
---|
| 178 | <BR> |
---|
| 179 | Add a <A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><CODE>FlowListener</CODE></A>.</TD> |
---|
| 180 | </TR> |
---|
| 181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 183 | <CODE> void</CODE></FONT></TD> |
---|
| 184 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#addReturnListener(com.rabbitmq.client.ReturnListener)">addReturnListener</A></B>(<A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client">ReturnListener</A> listener)</CODE> |
---|
| 185 | |
---|
| 186 | <BR> |
---|
| 187 | Add a <A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><CODE>ReturnListener</CODE></A>.</TD> |
---|
| 188 | </TR> |
---|
| 189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 191 | <CODE> void</CODE></FONT></TD> |
---|
| 192 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#asyncRpc(com.rabbitmq.client.Method)">asyncRpc</A></B>(<A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> method)</CODE> |
---|
| 193 | |
---|
| 194 | <BR> |
---|
| 195 | Asynchronously send a method over this channel.</TD> |
---|
| 196 | </TR> |
---|
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 199 | <CODE> void</CODE></FONT></TD> |
---|
| 200 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicAck(long, boolean)">basicAck</A></B>(long deliveryTag, |
---|
| 201 | boolean multiple)</CODE> |
---|
| 202 | |
---|
| 203 | <BR> |
---|
| 204 | Acknowledge one or several received |
---|
| 205 | messages.</TD> |
---|
| 206 | </TR> |
---|
| 207 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 208 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 209 | <CODE> void</CODE></FONT></TD> |
---|
| 210 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicCancel(java.lang.String)">basicCancel</A></B>(java.lang.String consumerTag)</CODE> |
---|
| 211 | |
---|
| 212 | <BR> |
---|
| 213 | Cancel a consumer.</TD> |
---|
| 214 | </TR> |
---|
| 215 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 217 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 218 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String, boolean, com.rabbitmq.client.Consumer)">basicConsume</A></B>(java.lang.String queue, |
---|
| 219 | boolean autoAck, |
---|
| 220 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> callback)</CODE> |
---|
| 221 | |
---|
| 222 | <BR> |
---|
| 223 | Start a non-nolocal, non-exclusive consumer, with |
---|
| 224 | a server-generated consumerTag.</TD> |
---|
| 225 | </TR> |
---|
| 226 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 228 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 229 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String, boolean, java.lang.String, boolean, boolean, java.util.Map, com.rabbitmq.client.Consumer)">basicConsume</A></B>(java.lang.String queue, |
---|
| 230 | boolean autoAck, |
---|
| 231 | java.lang.String consumerTag, |
---|
| 232 | boolean noLocal, |
---|
| 233 | boolean exclusive, |
---|
| 234 | java.util.Map<java.lang.String,java.lang.Object> arguments, |
---|
| 235 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> callback)</CODE> |
---|
| 236 | |
---|
| 237 | <BR> |
---|
| 238 | Start a consumer.</TD> |
---|
| 239 | </TR> |
---|
| 240 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 241 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 242 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 243 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String, boolean, java.lang.String, com.rabbitmq.client.Consumer)">basicConsume</A></B>(java.lang.String queue, |
---|
| 244 | boolean autoAck, |
---|
| 245 | java.lang.String consumerTag, |
---|
| 246 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> callback)</CODE> |
---|
| 247 | |
---|
| 248 | <BR> |
---|
| 249 | Start a non-nolocal, non-exclusive consumer.</TD> |
---|
| 250 | </TR> |
---|
| 251 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 252 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 253 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 254 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String, com.rabbitmq.client.Consumer)">basicConsume</A></B>(java.lang.String queue, |
---|
| 255 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> callback)</CODE> |
---|
| 256 | |
---|
| 257 | <BR> |
---|
| 258 | Start a non-nolocal, non-exclusive consumer, with |
---|
| 259 | explicit acknowledgement and a server-generated consumerTag.</TD> |
---|
| 260 | </TR> |
---|
| 261 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 262 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 263 | <CODE> <A HREF="../../../com/rabbitmq/client/GetResponse.html" title="class in com.rabbitmq.client">GetResponse</A></CODE></FONT></TD> |
---|
| 264 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicGet(java.lang.String, boolean)">basicGet</A></B>(java.lang.String queue, |
---|
| 265 | boolean autoAck)</CODE> |
---|
| 266 | |
---|
| 267 | <BR> |
---|
| 268 | 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></TD> |
---|
| 269 | </TR> |
---|
| 270 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 271 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 272 | <CODE> void</CODE></FONT></TD> |
---|
| 273 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicNack(long, boolean, boolean)">basicNack</A></B>(long deliveryTag, |
---|
| 274 | boolean multiple, |
---|
| 275 | boolean requeue)</CODE> |
---|
| 276 | |
---|
| 277 | <BR> |
---|
| 278 | Reject one or several received messages.</TD> |
---|
| 279 | </TR> |
---|
| 280 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 282 | <CODE> void</CODE></FONT></TD> |
---|
| 283 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicPublish(java.lang.String, java.lang.String, com.rabbitmq.client.AMQP.BasicProperties, byte[])">basicPublish</A></B>(java.lang.String exchange, |
---|
| 284 | java.lang.String routingKey, |
---|
| 285 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> props, |
---|
| 286 | byte[] body)</CODE> |
---|
| 287 | |
---|
| 288 | <BR> |
---|
| 289 | Publish a message</TD> |
---|
| 290 | </TR> |
---|
| 291 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 293 | <CODE> void</CODE></FONT></TD> |
---|
| 294 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicPublish(java.lang.String, java.lang.String, boolean, com.rabbitmq.client.AMQP.BasicProperties, byte[])">basicPublish</A></B>(java.lang.String exchange, |
---|
| 295 | java.lang.String routingKey, |
---|
| 296 | boolean mandatory, |
---|
| 297 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> props, |
---|
| 298 | byte[] body)</CODE> |
---|
| 299 | |
---|
| 300 | <BR> |
---|
| 301 | Publish a message</TD> |
---|
| 302 | </TR> |
---|
| 303 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 304 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 305 | <CODE> void</CODE></FONT></TD> |
---|
| 306 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicPublish(java.lang.String, java.lang.String, boolean, boolean, com.rabbitmq.client.AMQP.BasicProperties, byte[])">basicPublish</A></B>(java.lang.String exchange, |
---|
| 307 | java.lang.String routingKey, |
---|
| 308 | boolean mandatory, |
---|
| 309 | boolean immediate, |
---|
| 310 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> props, |
---|
| 311 | byte[] body)</CODE> |
---|
| 312 | |
---|
| 313 | <BR> |
---|
| 314 | Publish a message</TD> |
---|
| 315 | </TR> |
---|
| 316 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 317 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 318 | <CODE> void</CODE></FONT></TD> |
---|
| 319 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicQos(int)">basicQos</A></B>(int prefetchCount)</CODE> |
---|
| 320 | |
---|
| 321 | <BR> |
---|
| 322 | Request a specific prefetchCount "quality of service" settings |
---|
| 323 | for this channel.</TD> |
---|
| 324 | </TR> |
---|
| 325 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 327 | <CODE> void</CODE></FONT></TD> |
---|
| 328 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicQos(int, int, boolean)">basicQos</A></B>(int prefetchSize, |
---|
| 329 | int prefetchCount, |
---|
| 330 | boolean global)</CODE> |
---|
| 331 | |
---|
| 332 | <BR> |
---|
| 333 | Request specific "quality of service" settings.</TD> |
---|
| 334 | </TR> |
---|
| 335 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 336 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 337 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Basic.RecoverOk.html" title="interface in com.rabbitmq.client">AMQP.Basic.RecoverOk</A></CODE></FONT></TD> |
---|
| 338 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicRecover()">basicRecover</A></B>()</CODE> |
---|
| 339 | |
---|
| 340 | <BR> |
---|
| 341 | Ask the broker to resend unacknowledged messages.</TD> |
---|
| 342 | </TR> |
---|
| 343 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 344 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 345 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Basic.RecoverOk.html" title="interface in com.rabbitmq.client">AMQP.Basic.RecoverOk</A></CODE></FONT></TD> |
---|
| 346 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicRecover(boolean)">basicRecover</A></B>(boolean requeue)</CODE> |
---|
| 347 | |
---|
| 348 | <BR> |
---|
| 349 | Ask the broker to resend unacknowledged messages.</TD> |
---|
| 350 | </TR> |
---|
| 351 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 352 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 353 | <CODE> void</CODE></FONT></TD> |
---|
| 354 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicRecoverAsync(boolean)">basicRecoverAsync</A></B>(boolean requeue)</CODE> |
---|
| 355 | |
---|
| 356 | <BR> |
---|
| 357 | <B>Deprecated.</B> </TD> |
---|
| 358 | </TR> |
---|
| 359 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 360 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 361 | <CODE> void</CODE></FONT></TD> |
---|
| 362 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#basicReject(long, boolean)">basicReject</A></B>(long deliveryTag, |
---|
| 363 | boolean requeue)</CODE> |
---|
| 364 | |
---|
| 365 | <BR> |
---|
| 366 | Reject a message.</TD> |
---|
| 367 | </TR> |
---|
| 368 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 369 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 370 | <CODE> void</CODE></FONT></TD> |
---|
| 371 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#clearConfirmListeners()">clearConfirmListeners</A></B>()</CODE> |
---|
| 372 | |
---|
| 373 | <BR> |
---|
| 374 | Remove all <A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><CODE>ConfirmListener</CODE></A>s.</TD> |
---|
| 375 | </TR> |
---|
| 376 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 377 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 378 | <CODE> void</CODE></FONT></TD> |
---|
| 379 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#clearFlowListeners()">clearFlowListeners</A></B>()</CODE> |
---|
| 380 | |
---|
| 381 | <BR> |
---|
| 382 | Remove all <A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><CODE>FlowListener</CODE></A>s.</TD> |
---|
| 383 | </TR> |
---|
| 384 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 385 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 386 | <CODE> void</CODE></FONT></TD> |
---|
| 387 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#clearReturnListeners()">clearReturnListeners</A></B>()</CODE> |
---|
| 388 | |
---|
| 389 | <BR> |
---|
| 390 | Remove all <A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><CODE>ReturnListener</CODE></A>s.</TD> |
---|
| 391 | </TR> |
---|
| 392 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 393 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 394 | <CODE> void</CODE></FONT></TD> |
---|
| 395 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#close()">close</A></B>()</CODE> |
---|
| 396 | |
---|
| 397 | <BR> |
---|
| 398 | Close this channel with the <A HREF="../../../com/rabbitmq/client/AMQP.html#REPLY_SUCCESS"><CODE>AMQP.REPLY_SUCCESS</CODE></A> close code |
---|
| 399 | and message 'OK'.</TD> |
---|
| 400 | </TR> |
---|
| 401 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 402 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 403 | <CODE> void</CODE></FONT></TD> |
---|
| 404 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#close(int, java.lang.String)">close</A></B>(int closeCode, |
---|
| 405 | java.lang.String closeMessage)</CODE> |
---|
| 406 | |
---|
| 407 | <BR> |
---|
| 408 | Close this channel.</TD> |
---|
| 409 | </TR> |
---|
| 410 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 411 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 412 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Confirm.SelectOk.html" title="interface in com.rabbitmq.client">AMQP.Confirm.SelectOk</A></CODE></FONT></TD> |
---|
| 413 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#confirmSelect()">confirmSelect</A></B>()</CODE> |
---|
| 414 | |
---|
| 415 | <BR> |
---|
| 416 | Enables publisher acknowledgements on this channel.</TD> |
---|
| 417 | </TR> |
---|
| 418 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 419 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 420 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.BindOk</A></CODE></FONT></TD> |
---|
| 421 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeBind(java.lang.String, java.lang.String, java.lang.String)">exchangeBind</A></B>(java.lang.String destination, |
---|
| 422 | java.lang.String source, |
---|
| 423 | java.lang.String routingKey)</CODE> |
---|
| 424 | |
---|
| 425 | <BR> |
---|
| 426 | Bind an exchange to an exchange, with no extra arguments.</TD> |
---|
| 427 | </TR> |
---|
| 428 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 429 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 430 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.BindOk</A></CODE></FONT></TD> |
---|
| 431 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeBind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)">exchangeBind</A></B>(java.lang.String destination, |
---|
| 432 | java.lang.String source, |
---|
| 433 | java.lang.String routingKey, |
---|
| 434 | java.util.Map<java.lang.String,java.lang.Object> arguments)</CODE> |
---|
| 435 | |
---|
| 436 | <BR> |
---|
| 437 | Bind an exchange to an exchange.</TD> |
---|
| 438 | </TR> |
---|
| 439 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 440 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 441 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A></CODE></FONT></TD> |
---|
| 442 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String, java.lang.String)">exchangeDeclare</A></B>(java.lang.String exchange, |
---|
| 443 | java.lang.String type)</CODE> |
---|
| 444 | |
---|
| 445 | <BR> |
---|
| 446 | Actively declare a non-autodelete, non-durable exchange with no extra arguments</TD> |
---|
| 447 | </TR> |
---|
| 448 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 449 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 450 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A></CODE></FONT></TD> |
---|
| 451 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String, java.lang.String, boolean)">exchangeDeclare</A></B>(java.lang.String exchange, |
---|
| 452 | java.lang.String type, |
---|
| 453 | boolean durable)</CODE> |
---|
| 454 | |
---|
| 455 | <BR> |
---|
| 456 | Actively declare a non-autodelete exchange with no extra arguments</TD> |
---|
| 457 | </TR> |
---|
| 458 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 459 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 460 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A></CODE></FONT></TD> |
---|
| 461 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String, java.lang.String, boolean, boolean, boolean, java.util.Map)">exchangeDeclare</A></B>(java.lang.String exchange, |
---|
| 462 | java.lang.String type, |
---|
| 463 | boolean durable, |
---|
| 464 | boolean autoDelete, |
---|
| 465 | boolean internal, |
---|
| 466 | java.util.Map<java.lang.String,java.lang.Object> arguments)</CODE> |
---|
| 467 | |
---|
| 468 | <BR> |
---|
| 469 | Declare an exchange, via an interface that allows the complete set of |
---|
| 470 | arguments.</TD> |
---|
| 471 | </TR> |
---|
| 472 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 473 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 474 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A></CODE></FONT></TD> |
---|
| 475 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeDeclare(java.lang.String, java.lang.String, boolean, boolean, java.util.Map)">exchangeDeclare</A></B>(java.lang.String exchange, |
---|
| 476 | java.lang.String type, |
---|
| 477 | boolean durable, |
---|
| 478 | boolean autoDelete, |
---|
| 479 | java.util.Map<java.lang.String,java.lang.Object> arguments)</CODE> |
---|
| 480 | |
---|
| 481 | <BR> |
---|
| 482 | Declare an exchange.</TD> |
---|
| 483 | </TR> |
---|
| 484 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 485 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 486 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A></CODE></FONT></TD> |
---|
| 487 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeDeclarePassive(java.lang.String)">exchangeDeclarePassive</A></B>(java.lang.String name)</CODE> |
---|
| 488 | |
---|
| 489 | <BR> |
---|
| 490 | Declare an exchange passively; that is, check if the named exchange exists.</TD> |
---|
| 491 | </TR> |
---|
| 492 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 493 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 494 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeleteOk</A></CODE></FONT></TD> |
---|
| 495 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeDelete(java.lang.String)">exchangeDelete</A></B>(java.lang.String exchange)</CODE> |
---|
| 496 | |
---|
| 497 | <BR> |
---|
| 498 | Delete an exchange, without regard for whether it is in use or not</TD> |
---|
| 499 | </TR> |
---|
| 500 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 501 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 502 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeleteOk</A></CODE></FONT></TD> |
---|
| 503 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeDelete(java.lang.String, boolean)">exchangeDelete</A></B>(java.lang.String exchange, |
---|
| 504 | boolean ifUnused)</CODE> |
---|
| 505 | |
---|
| 506 | <BR> |
---|
| 507 | Delete an exchange</TD> |
---|
| 508 | </TR> |
---|
| 509 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 510 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 511 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.UnbindOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.UnbindOk</A></CODE></FONT></TD> |
---|
| 512 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeUnbind(java.lang.String, java.lang.String, java.lang.String)">exchangeUnbind</A></B>(java.lang.String destination, |
---|
| 513 | java.lang.String source, |
---|
| 514 | java.lang.String routingKey)</CODE> |
---|
| 515 | |
---|
| 516 | <BR> |
---|
| 517 | Unbind an exchange from an exchange, with no extra arguments.</TD> |
---|
| 518 | </TR> |
---|
| 519 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 520 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 521 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.UnbindOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.UnbindOk</A></CODE></FONT></TD> |
---|
| 522 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#exchangeUnbind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)">exchangeUnbind</A></B>(java.lang.String destination, |
---|
| 523 | java.lang.String source, |
---|
| 524 | java.lang.String routingKey, |
---|
| 525 | java.util.Map<java.lang.String,java.lang.Object> arguments)</CODE> |
---|
| 526 | |
---|
| 527 | <BR> |
---|
| 528 | Unbind an exchange from an exchange.</TD> |
---|
| 529 | </TR> |
---|
| 530 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 531 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 532 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Channel.FlowOk.html" title="interface in com.rabbitmq.client">AMQP.Channel.FlowOk</A></CODE></FONT></TD> |
---|
| 533 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#flow(boolean)">flow</A></B>(boolean active)</CODE> |
---|
| 534 | |
---|
| 535 | <BR> |
---|
| 536 | Set flow on the channel</TD> |
---|
| 537 | </TR> |
---|
| 538 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 539 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 540 | <CODE> int</CODE></FONT></TD> |
---|
| 541 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#getChannelNumber()">getChannelNumber</A></B>()</CODE> |
---|
| 542 | |
---|
| 543 | <BR> |
---|
| 544 | Retrieve this channel's channel number.</TD> |
---|
| 545 | </TR> |
---|
| 546 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 547 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 548 | <CODE> <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A></CODE></FONT></TD> |
---|
| 549 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#getConnection()">getConnection</A></B>()</CODE> |
---|
| 550 | |
---|
| 551 | <BR> |
---|
| 552 | Retrieve the connection which carries this channel.</TD> |
---|
| 553 | </TR> |
---|
| 554 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 555 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 556 | <CODE> <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A></CODE></FONT></TD> |
---|
| 557 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#getDefaultConsumer()">getDefaultConsumer</A></B>()</CODE> |
---|
| 558 | |
---|
| 559 | <BR> |
---|
| 560 | Get the current default consumer.</TD> |
---|
| 561 | </TR> |
---|
| 562 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 563 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 564 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Channel.FlowOk.html" title="interface in com.rabbitmq.client">AMQP.Channel.FlowOk</A></CODE></FONT></TD> |
---|
| 565 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#getFlow()">getFlow</A></B>()</CODE> |
---|
| 566 | |
---|
| 567 | <BR> |
---|
| 568 | Return the current Channel.Flow settings.</TD> |
---|
| 569 | </TR> |
---|
| 570 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 571 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 572 | <CODE> long</CODE></FONT></TD> |
---|
| 573 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#getNextPublishSeqNo()">getNextPublishSeqNo</A></B>()</CODE> |
---|
| 574 | |
---|
| 575 | <BR> |
---|
| 576 | When in confirm mode, returns the sequence number of the next |
---|
| 577 | message to be published.</TD> |
---|
| 578 | </TR> |
---|
| 579 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 580 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 581 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.BindOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.BindOk</A></CODE></FONT></TD> |
---|
| 582 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueBind(java.lang.String, java.lang.String, java.lang.String)">queueBind</A></B>(java.lang.String queue, |
---|
| 583 | java.lang.String exchange, |
---|
| 584 | java.lang.String routingKey)</CODE> |
---|
| 585 | |
---|
| 586 | <BR> |
---|
| 587 | Bind a queue to an exchange, with no extra arguments.</TD> |
---|
| 588 | </TR> |
---|
| 589 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 590 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 591 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.BindOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.BindOk</A></CODE></FONT></TD> |
---|
| 592 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueBind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)">queueBind</A></B>(java.lang.String queue, |
---|
| 593 | java.lang.String exchange, |
---|
| 594 | java.lang.String routingKey, |
---|
| 595 | java.util.Map<java.lang.String,java.lang.Object> arguments)</CODE> |
---|
| 596 | |
---|
| 597 | <BR> |
---|
| 598 | Bind a queue to an exchange.</TD> |
---|
| 599 | </TR> |
---|
| 600 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 601 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 602 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeclareOk</A></CODE></FONT></TD> |
---|
| 603 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueDeclare()">queueDeclare</A></B>()</CODE> |
---|
| 604 | |
---|
| 605 | <BR> |
---|
| 606 | Actively declare a server-named exclusive, autodelete, non-durable queue.</TD> |
---|
| 607 | </TR> |
---|
| 608 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 609 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 610 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeclareOk</A></CODE></FONT></TD> |
---|
| 611 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueDeclare(java.lang.String, boolean, boolean, boolean, java.util.Map)">queueDeclare</A></B>(java.lang.String queue, |
---|
| 612 | boolean durable, |
---|
| 613 | boolean exclusive, |
---|
| 614 | boolean autoDelete, |
---|
| 615 | java.util.Map<java.lang.String,java.lang.Object> arguments)</CODE> |
---|
| 616 | |
---|
| 617 | <BR> |
---|
| 618 | Declare a queue</TD> |
---|
| 619 | </TR> |
---|
| 620 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 621 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 622 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeclareOk</A></CODE></FONT></TD> |
---|
| 623 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueDeclarePassive(java.lang.String)">queueDeclarePassive</A></B>(java.lang.String queue)</CODE> |
---|
| 624 | |
---|
| 625 | <BR> |
---|
| 626 | Declare a queue passively; i.e., check if it exists.</TD> |
---|
| 627 | </TR> |
---|
| 628 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 629 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 630 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeleteOk</A></CODE></FONT></TD> |
---|
| 631 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueDelete(java.lang.String)">queueDelete</A></B>(java.lang.String queue)</CODE> |
---|
| 632 | |
---|
| 633 | <BR> |
---|
| 634 | Delete a queue, without regard for whether it is in use or has messages on it</TD> |
---|
| 635 | </TR> |
---|
| 636 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 637 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 638 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeleteOk</A></CODE></FONT></TD> |
---|
| 639 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueDelete(java.lang.String, boolean, boolean)">queueDelete</A></B>(java.lang.String queue, |
---|
| 640 | boolean ifUnused, |
---|
| 641 | boolean ifEmpty)</CODE> |
---|
| 642 | |
---|
| 643 | <BR> |
---|
| 644 | Delete a queue</TD> |
---|
| 645 | </TR> |
---|
| 646 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 647 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 648 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.PurgeOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.PurgeOk</A></CODE></FONT></TD> |
---|
| 649 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queuePurge(java.lang.String)">queuePurge</A></B>(java.lang.String queue)</CODE> |
---|
| 650 | |
---|
| 651 | <BR> |
---|
| 652 | Purges the contents of the given queue.</TD> |
---|
| 653 | </TR> |
---|
| 654 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 655 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 656 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.UnbindOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.UnbindOk</A></CODE></FONT></TD> |
---|
| 657 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueUnbind(java.lang.String, java.lang.String, java.lang.String)">queueUnbind</A></B>(java.lang.String queue, |
---|
| 658 | java.lang.String exchange, |
---|
| 659 | java.lang.String routingKey)</CODE> |
---|
| 660 | |
---|
| 661 | <BR> |
---|
| 662 | Unbinds a queue from an exchange, with no extra arguments.</TD> |
---|
| 663 | </TR> |
---|
| 664 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 665 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 666 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Queue.UnbindOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.UnbindOk</A></CODE></FONT></TD> |
---|
| 667 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#queueUnbind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)">queueUnbind</A></B>(java.lang.String queue, |
---|
| 668 | java.lang.String exchange, |
---|
| 669 | java.lang.String routingKey, |
---|
| 670 | java.util.Map<java.lang.String,java.lang.Object> arguments)</CODE> |
---|
| 671 | |
---|
| 672 | <BR> |
---|
| 673 | Unbind a queue from an exchange.</TD> |
---|
| 674 | </TR> |
---|
| 675 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 676 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 677 | <CODE> boolean</CODE></FONT></TD> |
---|
| 678 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#removeConfirmListener(com.rabbitmq.client.ConfirmListener)">removeConfirmListener</A></B>(<A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client">ConfirmListener</A> listener)</CODE> |
---|
| 679 | |
---|
| 680 | <BR> |
---|
| 681 | Remove a <A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><CODE>ConfirmListener</CODE></A>.</TD> |
---|
| 682 | </TR> |
---|
| 683 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 684 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 685 | <CODE> boolean</CODE></FONT></TD> |
---|
| 686 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#removeFlowListener(com.rabbitmq.client.FlowListener)">removeFlowListener</A></B>(<A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client">FlowListener</A> listener)</CODE> |
---|
| 687 | |
---|
| 688 | <BR> |
---|
| 689 | Remove a <A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><CODE>FlowListener</CODE></A>.</TD> |
---|
| 690 | </TR> |
---|
| 691 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 692 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 693 | <CODE> boolean</CODE></FONT></TD> |
---|
| 694 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#removeReturnListener(com.rabbitmq.client.ReturnListener)">removeReturnListener</A></B>(<A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client">ReturnListener</A> listener)</CODE> |
---|
| 695 | |
---|
| 696 | <BR> |
---|
| 697 | Remove a <A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><CODE>ReturnListener</CODE></A>.</TD> |
---|
| 698 | </TR> |
---|
| 699 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 700 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 701 | <CODE> <A HREF="../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client">Command</A></CODE></FONT></TD> |
---|
| 702 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#rpc(com.rabbitmq.client.Method)">rpc</A></B>(<A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> method)</CODE> |
---|
| 703 | |
---|
| 704 | <BR> |
---|
| 705 | Synchronously send a method over this channel.</TD> |
---|
| 706 | </TR> |
---|
| 707 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 708 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 709 | <CODE> void</CODE></FONT></TD> |
---|
| 710 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#setDefaultConsumer(com.rabbitmq.client.Consumer)">setDefaultConsumer</A></B>(<A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> consumer)</CODE> |
---|
| 711 | |
---|
| 712 | <BR> |
---|
| 713 | Set the current default consumer.</TD> |
---|
| 714 | </TR> |
---|
| 715 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 716 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 717 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Tx.CommitOk.html" title="interface in com.rabbitmq.client">AMQP.Tx.CommitOk</A></CODE></FONT></TD> |
---|
| 718 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#txCommit()">txCommit</A></B>()</CODE> |
---|
| 719 | |
---|
| 720 | <BR> |
---|
| 721 | Commits a TX transaction on this channel.</TD> |
---|
| 722 | </TR> |
---|
| 723 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 724 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 725 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Tx.RollbackOk.html" title="interface in com.rabbitmq.client">AMQP.Tx.RollbackOk</A></CODE></FONT></TD> |
---|
| 726 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#txRollback()">txRollback</A></B>()</CODE> |
---|
| 727 | |
---|
| 728 | <BR> |
---|
| 729 | Rolls back a TX transaction on this channel.</TD> |
---|
| 730 | </TR> |
---|
| 731 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 732 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 733 | <CODE> <A HREF="../../../com/rabbitmq/client/AMQP.Tx.SelectOk.html" title="interface in com.rabbitmq.client">AMQP.Tx.SelectOk</A></CODE></FONT></TD> |
---|
| 734 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#txSelect()">txSelect</A></B>()</CODE> |
---|
| 735 | |
---|
| 736 | <BR> |
---|
| 737 | Enables TX mode on this channel.</TD> |
---|
| 738 | </TR> |
---|
| 739 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 740 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 741 | <CODE> boolean</CODE></FONT></TD> |
---|
| 742 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#waitForConfirms()">waitForConfirms</A></B>()</CODE> |
---|
| 743 | |
---|
| 744 | <BR> |
---|
| 745 | Wait until all messages published since the last call have been |
---|
| 746 | either ack'd or nack'd by the broker.</TD> |
---|
| 747 | </TR> |
---|
| 748 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 749 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 750 | <CODE> boolean</CODE></FONT></TD> |
---|
| 751 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#waitForConfirms(long)">waitForConfirms</A></B>(long timeout)</CODE> |
---|
| 752 | |
---|
| 753 | <BR> |
---|
| 754 | Wait until all messages published since the last call have been |
---|
| 755 | either ack'd or nack'd by the broker; or until timeout elapses.</TD> |
---|
| 756 | </TR> |
---|
| 757 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 758 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 759 | <CODE> void</CODE></FONT></TD> |
---|
| 760 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#waitForConfirmsOrDie()">waitForConfirmsOrDie</A></B>()</CODE> |
---|
| 761 | |
---|
| 762 | <BR> |
---|
| 763 | Wait until all messages published since the last call have |
---|
| 764 | been either ack'd or nack'd by the broker.</TD> |
---|
| 765 | </TR> |
---|
| 766 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 767 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 768 | <CODE> void</CODE></FONT></TD> |
---|
| 769 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/Channel.html#waitForConfirmsOrDie(long)">waitForConfirmsOrDie</A></B>(long timeout)</CODE> |
---|
| 770 | |
---|
| 771 | <BR> |
---|
| 772 | Wait until all messages published since the last call have |
---|
| 773 | been either ack'd or nack'd by the broker; or until timeout elapses.</TD> |
---|
| 774 | </TR> |
---|
| 775 | </TABLE> |
---|
| 776 | <A NAME="methods_inherited_from_class_com.rabbitmq.client.ShutdownNotifier"><!-- --></A> |
---|
| 777 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 778 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 779 | <TH ALIGN="left"><B>Methods inherited from interface com.rabbitmq.client.<A HREF="../../../com/rabbitmq/client/ShutdownNotifier.html" title="interface in com.rabbitmq.client">ShutdownNotifier</A></B></TH> |
---|
| 780 | </TR> |
---|
| 781 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 782 | <TD><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></TD> |
---|
| 783 | </TR> |
---|
| 784 | </TABLE> |
---|
| 785 | |
---|
| 786 | <P> |
---|
| 787 | |
---|
| 788 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 789 | |
---|
| 790 | <A NAME="method_detail"><!-- --></A> |
---|
| 791 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 792 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 793 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 794 | <B>Method Detail</B></FONT></TH> |
---|
| 795 | </TR> |
---|
| 796 | </TABLE> |
---|
| 797 | |
---|
| 798 | <A NAME="getChannelNumber()"><!-- --></A><H3> |
---|
| 799 | getChannelNumber</H3> |
---|
| 800 | <PRE> |
---|
| 801 | int <B>getChannelNumber</B>()</PRE> |
---|
| 802 | <DL> |
---|
| 803 | <DD>Retrieve this channel's channel number. |
---|
| 804 | <P> |
---|
| 805 | <DD><DL> |
---|
| 806 | </DL> |
---|
| 807 | </DD> |
---|
| 808 | <DD><DL> |
---|
| 809 | |
---|
| 810 | <DT><B>Returns:</B><DD>the channel number</DL> |
---|
| 811 | </DD> |
---|
| 812 | </DL> |
---|
| 813 | <HR> |
---|
| 814 | |
---|
| 815 | <A NAME="getConnection()"><!-- --></A><H3> |
---|
| 816 | getConnection</H3> |
---|
| 817 | <PRE> |
---|
| 818 | <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A> <B>getConnection</B>()</PRE> |
---|
| 819 | <DL> |
---|
| 820 | <DD>Retrieve the connection which carries this channel. |
---|
| 821 | <P> |
---|
| 822 | <DD><DL> |
---|
| 823 | </DL> |
---|
| 824 | </DD> |
---|
| 825 | <DD><DL> |
---|
| 826 | |
---|
| 827 | <DT><B>Returns:</B><DD>the underlying <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client"><CODE>Connection</CODE></A></DL> |
---|
| 828 | </DD> |
---|
| 829 | </DL> |
---|
| 830 | <HR> |
---|
| 831 | |
---|
| 832 | <A NAME="close()"><!-- --></A><H3> |
---|
| 833 | close</H3> |
---|
| 834 | <PRE> |
---|
| 835 | void <B>close</B>() |
---|
| 836 | throws java.io.IOException</PRE> |
---|
| 837 | <DL> |
---|
| 838 | <DD>Close this channel with the <A HREF="../../../com/rabbitmq/client/AMQP.html#REPLY_SUCCESS"><CODE>AMQP.REPLY_SUCCESS</CODE></A> close code |
---|
| 839 | and message 'OK'. |
---|
| 840 | <P> |
---|
| 841 | <DD><DL> |
---|
| 842 | </DL> |
---|
| 843 | </DD> |
---|
| 844 | <DD><DL> |
---|
| 845 | |
---|
| 846 | <DT><B>Throws:</B> |
---|
| 847 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered</DL> |
---|
| 848 | </DD> |
---|
| 849 | </DL> |
---|
| 850 | <HR> |
---|
| 851 | |
---|
| 852 | <A NAME="close(int, java.lang.String)"><!-- --></A><H3> |
---|
| 853 | close</H3> |
---|
| 854 | <PRE> |
---|
| 855 | void <B>close</B>(int closeCode, |
---|
| 856 | java.lang.String closeMessage) |
---|
| 857 | throws java.io.IOException</PRE> |
---|
| 858 | <DL> |
---|
| 859 | <DD>Close this channel. |
---|
| 860 | <P> |
---|
| 861 | <DD><DL> |
---|
| 862 | </DL> |
---|
| 863 | </DD> |
---|
| 864 | <DD><DL> |
---|
| 865 | <DT><B>Parameters:</B><DD><CODE>closeCode</CODE> - the close code (See under "Reply Codes" in the AMQP specification)<DD><CODE>closeMessage</CODE> - a message indicating the reason for closing the connection |
---|
| 866 | <DT><B>Throws:</B> |
---|
| 867 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered</DL> |
---|
| 868 | </DD> |
---|
| 869 | </DL> |
---|
| 870 | <HR> |
---|
| 871 | |
---|
| 872 | <A NAME="flow(boolean)"><!-- --></A><H3> |
---|
| 873 | flow</H3> |
---|
| 874 | <PRE> |
---|
| 875 | <A HREF="../../../com/rabbitmq/client/AMQP.Channel.FlowOk.html" title="interface in com.rabbitmq.client">AMQP.Channel.FlowOk</A> <B>flow</B>(boolean active) |
---|
| 876 | throws java.io.IOException</PRE> |
---|
| 877 | <DL> |
---|
| 878 | <DD>Set flow on the channel |
---|
| 879 | <P> |
---|
| 880 | <DD><DL> |
---|
| 881 | </DL> |
---|
| 882 | </DD> |
---|
| 883 | <DD><DL> |
---|
| 884 | <DT><B>Parameters:</B><DD><CODE>active</CODE> - if true, the server is asked to start sending. If false, the server is asked to stop sending. |
---|
| 885 | <DT><B>Throws:</B> |
---|
| 886 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
| 887 | </DD> |
---|
| 888 | </DL> |
---|
| 889 | <HR> |
---|
| 890 | |
---|
| 891 | <A NAME="getFlow()"><!-- --></A><H3> |
---|
| 892 | getFlow</H3> |
---|
| 893 | <PRE> |
---|
| 894 | <A HREF="../../../com/rabbitmq/client/AMQP.Channel.FlowOk.html" title="interface in com.rabbitmq.client">AMQP.Channel.FlowOk</A> <B>getFlow</B>()</PRE> |
---|
| 895 | <DL> |
---|
| 896 | <DD>Return the current Channel.Flow settings. |
---|
| 897 | <P> |
---|
| 898 | <DD><DL> |
---|
| 899 | </DL> |
---|
| 900 | </DD> |
---|
| 901 | <DD><DL> |
---|
| 902 | </DL> |
---|
| 903 | </DD> |
---|
| 904 | </DL> |
---|
| 905 | <HR> |
---|
| 906 | |
---|
| 907 | <A NAME="abort()"><!-- --></A><H3> |
---|
| 908 | abort</H3> |
---|
| 909 | <PRE> |
---|
| 910 | void <B>abort</B>() |
---|
| 911 | throws java.io.IOException</PRE> |
---|
| 912 | <DL> |
---|
| 913 | <DD>Abort this channel with the <A HREF="../../../com/rabbitmq/client/AMQP.html#REPLY_SUCCESS"><CODE>AMQP.REPLY_SUCCESS</CODE></A> close code |
---|
| 914 | and message 'OK'. |
---|
| 915 | |
---|
| 916 | Forces the channel to close and waits for the close operation to complete. |
---|
| 917 | Any encountered exceptions in the close operation are silently discarded. |
---|
| 918 | <P> |
---|
| 919 | <DD><DL> |
---|
| 920 | </DL> |
---|
| 921 | </DD> |
---|
| 922 | <DD><DL> |
---|
| 923 | |
---|
| 924 | <DT><B>Throws:</B> |
---|
| 925 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
| 926 | </DD> |
---|
| 927 | </DL> |
---|
| 928 | <HR> |
---|
| 929 | |
---|
| 930 | <A NAME="abort(int, java.lang.String)"><!-- --></A><H3> |
---|
| 931 | abort</H3> |
---|
| 932 | <PRE> |
---|
| 933 | void <B>abort</B>(int closeCode, |
---|
| 934 | java.lang.String closeMessage) |
---|
| 935 | throws java.io.IOException</PRE> |
---|
| 936 | <DL> |
---|
| 937 | <DD>Abort this channel. |
---|
| 938 | |
---|
| 939 | Forces the channel to close and waits for the close operation to complete. |
---|
| 940 | Any encountered exceptions in the close operation are silently discarded. |
---|
| 941 | <P> |
---|
| 942 | <DD><DL> |
---|
| 943 | </DL> |
---|
| 944 | </DD> |
---|
| 945 | <DD><DL> |
---|
| 946 | |
---|
| 947 | <DT><B>Throws:</B> |
---|
| 948 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
| 949 | </DD> |
---|
| 950 | </DL> |
---|
| 951 | <HR> |
---|
| 952 | |
---|
| 953 | <A NAME="addReturnListener(com.rabbitmq.client.ReturnListener)"><!-- --></A><H3> |
---|
| 954 | addReturnListener</H3> |
---|
| 955 | <PRE> |
---|
| 956 | void <B>addReturnListener</B>(<A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client">ReturnListener</A> listener)</PRE> |
---|
| 957 | <DL> |
---|
| 958 | <DD>Add a <A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><CODE>ReturnListener</CODE></A>. |
---|
| 959 | <P> |
---|
| 960 | <DD><DL> |
---|
| 961 | </DL> |
---|
| 962 | </DD> |
---|
| 963 | <DD><DL> |
---|
| 964 | <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to add</DL> |
---|
| 965 | </DD> |
---|
| 966 | </DL> |
---|
| 967 | <HR> |
---|
| 968 | |
---|
| 969 | <A NAME="removeReturnListener(com.rabbitmq.client.ReturnListener)"><!-- --></A><H3> |
---|
| 970 | removeReturnListener</H3> |
---|
| 971 | <PRE> |
---|
| 972 | boolean <B>removeReturnListener</B>(<A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client">ReturnListener</A> listener)</PRE> |
---|
| 973 | <DL> |
---|
| 974 | <DD>Remove a <A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><CODE>ReturnListener</CODE></A>. |
---|
| 975 | <P> |
---|
| 976 | <DD><DL> |
---|
| 977 | </DL> |
---|
| 978 | </DD> |
---|
| 979 | <DD><DL> |
---|
| 980 | <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to remove |
---|
| 981 | <DT><B>Returns:</B><DD><code><b>true</b></code> if the listener was found and removed, |
---|
| 982 | <code><b>false</b></code> otherwise</DL> |
---|
| 983 | </DD> |
---|
| 984 | </DL> |
---|
| 985 | <HR> |
---|
| 986 | |
---|
| 987 | <A NAME="clearReturnListeners()"><!-- --></A><H3> |
---|
| 988 | clearReturnListeners</H3> |
---|
| 989 | <PRE> |
---|
| 990 | void <B>clearReturnListeners</B>()</PRE> |
---|
| 991 | <DL> |
---|
| 992 | <DD>Remove all <A HREF="../../../com/rabbitmq/client/ReturnListener.html" title="interface in com.rabbitmq.client"><CODE>ReturnListener</CODE></A>s. |
---|
| 993 | <P> |
---|
| 994 | <DD><DL> |
---|
| 995 | </DL> |
---|
| 996 | </DD> |
---|
| 997 | <DD><DL> |
---|
| 998 | </DL> |
---|
| 999 | </DD> |
---|
| 1000 | </DL> |
---|
| 1001 | <HR> |
---|
| 1002 | |
---|
| 1003 | <A NAME="addFlowListener(com.rabbitmq.client.FlowListener)"><!-- --></A><H3> |
---|
| 1004 | addFlowListener</H3> |
---|
| 1005 | <PRE> |
---|
| 1006 | void <B>addFlowListener</B>(<A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client">FlowListener</A> listener)</PRE> |
---|
| 1007 | <DL> |
---|
| 1008 | <DD>Add a <A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><CODE>FlowListener</CODE></A>. |
---|
| 1009 | <P> |
---|
| 1010 | <DD><DL> |
---|
| 1011 | </DL> |
---|
| 1012 | </DD> |
---|
| 1013 | <DD><DL> |
---|
| 1014 | <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to add</DL> |
---|
| 1015 | </DD> |
---|
| 1016 | </DL> |
---|
| 1017 | <HR> |
---|
| 1018 | |
---|
| 1019 | <A NAME="removeFlowListener(com.rabbitmq.client.FlowListener)"><!-- --></A><H3> |
---|
| 1020 | removeFlowListener</H3> |
---|
| 1021 | <PRE> |
---|
| 1022 | boolean <B>removeFlowListener</B>(<A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client">FlowListener</A> listener)</PRE> |
---|
| 1023 | <DL> |
---|
| 1024 | <DD>Remove a <A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><CODE>FlowListener</CODE></A>. |
---|
| 1025 | <P> |
---|
| 1026 | <DD><DL> |
---|
| 1027 | </DL> |
---|
| 1028 | </DD> |
---|
| 1029 | <DD><DL> |
---|
| 1030 | <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to remove |
---|
| 1031 | <DT><B>Returns:</B><DD><code><b>true</b></code> if the listener was found and removed, |
---|
| 1032 | <code><b>false</b></code> otherwise</DL> |
---|
| 1033 | </DD> |
---|
| 1034 | </DL> |
---|
| 1035 | <HR> |
---|
| 1036 | |
---|
| 1037 | <A NAME="clearFlowListeners()"><!-- --></A><H3> |
---|
| 1038 | clearFlowListeners</H3> |
---|
| 1039 | <PRE> |
---|
| 1040 | void <B>clearFlowListeners</B>()</PRE> |
---|
| 1041 | <DL> |
---|
| 1042 | <DD>Remove all <A HREF="../../../com/rabbitmq/client/FlowListener.html" title="interface in com.rabbitmq.client"><CODE>FlowListener</CODE></A>s. |
---|
| 1043 | <P> |
---|
| 1044 | <DD><DL> |
---|
| 1045 | </DL> |
---|
| 1046 | </DD> |
---|
| 1047 | <DD><DL> |
---|
| 1048 | </DL> |
---|
| 1049 | </DD> |
---|
| 1050 | </DL> |
---|
| 1051 | <HR> |
---|
| 1052 | |
---|
| 1053 | <A NAME="addConfirmListener(com.rabbitmq.client.ConfirmListener)"><!-- --></A><H3> |
---|
| 1054 | addConfirmListener</H3> |
---|
| 1055 | <PRE> |
---|
| 1056 | void <B>addConfirmListener</B>(<A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client">ConfirmListener</A> listener)</PRE> |
---|
| 1057 | <DL> |
---|
| 1058 | <DD>Add a <A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><CODE>ConfirmListener</CODE></A>. |
---|
| 1059 | <P> |
---|
| 1060 | <DD><DL> |
---|
| 1061 | </DL> |
---|
| 1062 | </DD> |
---|
| 1063 | <DD><DL> |
---|
| 1064 | <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to add</DL> |
---|
| 1065 | </DD> |
---|
| 1066 | </DL> |
---|
| 1067 | <HR> |
---|
| 1068 | |
---|
| 1069 | <A NAME="removeConfirmListener(com.rabbitmq.client.ConfirmListener)"><!-- --></A><H3> |
---|
| 1070 | removeConfirmListener</H3> |
---|
| 1071 | <PRE> |
---|
| 1072 | boolean <B>removeConfirmListener</B>(<A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client">ConfirmListener</A> listener)</PRE> |
---|
| 1073 | <DL> |
---|
| 1074 | <DD>Remove a <A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><CODE>ConfirmListener</CODE></A>. |
---|
| 1075 | <P> |
---|
| 1076 | <DD><DL> |
---|
| 1077 | </DL> |
---|
| 1078 | </DD> |
---|
| 1079 | <DD><DL> |
---|
| 1080 | <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the listener to remove |
---|
| 1081 | <DT><B>Returns:</B><DD><code><b>true</b></code> if the listener was found and removed, |
---|
| 1082 | <code><b>false</b></code> otherwise</DL> |
---|
| 1083 | </DD> |
---|
| 1084 | </DL> |
---|
| 1085 | <HR> |
---|
| 1086 | |
---|
| 1087 | <A NAME="clearConfirmListeners()"><!-- --></A><H3> |
---|
| 1088 | clearConfirmListeners</H3> |
---|
| 1089 | <PRE> |
---|
| 1090 | void <B>clearConfirmListeners</B>()</PRE> |
---|
| 1091 | <DL> |
---|
| 1092 | <DD>Remove all <A HREF="../../../com/rabbitmq/client/ConfirmListener.html" title="interface in com.rabbitmq.client"><CODE>ConfirmListener</CODE></A>s. |
---|
| 1093 | <P> |
---|
| 1094 | <DD><DL> |
---|
| 1095 | </DL> |
---|
| 1096 | </DD> |
---|
| 1097 | <DD><DL> |
---|
| 1098 | </DL> |
---|
| 1099 | </DD> |
---|
| 1100 | </DL> |
---|
| 1101 | <HR> |
---|
| 1102 | |
---|
| 1103 | <A NAME="getDefaultConsumer()"><!-- --></A><H3> |
---|
| 1104 | getDefaultConsumer</H3> |
---|
| 1105 | <PRE> |
---|
| 1106 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> <B>getDefaultConsumer</B>()</PRE> |
---|
| 1107 | <DL> |
---|
| 1108 | <DD>Get the current default consumer. @see setDefaultConsumer for rationale. |
---|
| 1109 | <P> |
---|
| 1110 | <DD><DL> |
---|
| 1111 | </DL> |
---|
| 1112 | </DD> |
---|
| 1113 | <DD><DL> |
---|
| 1114 | |
---|
| 1115 | <DT><B>Returns:</B><DD>an interface to the current default consumer.</DL> |
---|
| 1116 | </DD> |
---|
| 1117 | </DL> |
---|
| 1118 | <HR> |
---|
| 1119 | |
---|
| 1120 | <A NAME="setDefaultConsumer(com.rabbitmq.client.Consumer)"><!-- --></A><H3> |
---|
| 1121 | setDefaultConsumer</H3> |
---|
| 1122 | <PRE> |
---|
| 1123 | void <B>setDefaultConsumer</B>(<A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> consumer)</PRE> |
---|
| 1124 | <DL> |
---|
| 1125 | <DD>Set the current default consumer. |
---|
| 1126 | |
---|
| 1127 | Under certain circumstances it is possible for a channel to receive a |
---|
| 1128 | message delivery which does not match any consumer which is currently |
---|
| 1129 | set up via basicConsume(). This will occur after the following sequence |
---|
| 1130 | of events: |
---|
| 1131 | |
---|
| 1132 | ctag = basicConsume(queue, consumer); // i.e. with explicit acks |
---|
| 1133 | // some deliveries take place but are not acked |
---|
| 1134 | basicCancel(ctag); |
---|
| 1135 | basicRecover(false); |
---|
| 1136 | |
---|
| 1137 | Since requeue is specified to be false in the basicRecover, the spec |
---|
| 1138 | states that the message must be redelivered to "the original recipient" |
---|
| 1139 | - i.e. the same channel / consumer-tag. But the consumer is no longer |
---|
| 1140 | active. |
---|
| 1141 | |
---|
| 1142 | In these circumstances, you can register a default consumer to handle |
---|
| 1143 | such deliveries. If no default consumer is registered an |
---|
| 1144 | IllegalStateException will be thrown when such a delivery arrives. |
---|
| 1145 | |
---|
| 1146 | Most people will not need to use this. |
---|
| 1147 | <P> |
---|
| 1148 | <DD><DL> |
---|
| 1149 | </DL> |
---|
| 1150 | </DD> |
---|
| 1151 | <DD><DL> |
---|
| 1152 | <DT><B>Parameters:</B><DD><CODE>consumer</CODE> - the consumer to use, or null indicating "don't use one".</DL> |
---|
| 1153 | </DD> |
---|
| 1154 | </DL> |
---|
| 1155 | <HR> |
---|
| 1156 | |
---|
| 1157 | <A NAME="basicQos(int, int, boolean)"><!-- --></A><H3> |
---|
| 1158 | basicQos</H3> |
---|
| 1159 | <PRE> |
---|
| 1160 | void <B>basicQos</B>(int prefetchSize, |
---|
| 1161 | int prefetchCount, |
---|
| 1162 | boolean global) |
---|
| 1163 | throws java.io.IOException</PRE> |
---|
| 1164 | <DL> |
---|
| 1165 | <DD>Request specific "quality of service" settings. |
---|
| 1166 | |
---|
| 1167 | These settings impose limits on the amount of data the server |
---|
| 1168 | will deliver to consumers before requiring acknowledgements. |
---|
| 1169 | Thus they provide a means of consumer-initiated flow control. |
---|
| 1170 | <P> |
---|
| 1171 | <DD><DL> |
---|
| 1172 | </DL> |
---|
| 1173 | </DD> |
---|
| 1174 | <DD><DL> |
---|
| 1175 | <DT><B>Parameters:</B><DD><CODE>prefetchSize</CODE> - maximum amount of content (measured in |
---|
| 1176 | octets) that the server will deliver, 0 if unlimited<DD><CODE>prefetchCount</CODE> - maximum number of messages that the server |
---|
| 1177 | will deliver, 0 if unlimited<DD><CODE>global</CODE> - true if the settings should be applied to the |
---|
| 1178 | entire connection rather than just the current channel |
---|
| 1179 | <DT><B>Throws:</B> |
---|
| 1180 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Qos.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Qos</CODE></A></DL> |
---|
| 1181 | </DD> |
---|
| 1182 | </DL> |
---|
| 1183 | <HR> |
---|
| 1184 | |
---|
| 1185 | <A NAME="basicQos(int)"><!-- --></A><H3> |
---|
| 1186 | basicQos</H3> |
---|
| 1187 | <PRE> |
---|
| 1188 | void <B>basicQos</B>(int prefetchCount) |
---|
| 1189 | throws java.io.IOException</PRE> |
---|
| 1190 | <DL> |
---|
| 1191 | <DD>Request a specific prefetchCount "quality of service" settings |
---|
| 1192 | for this channel. |
---|
| 1193 | <P> |
---|
| 1194 | <DD><DL> |
---|
| 1195 | </DL> |
---|
| 1196 | </DD> |
---|
| 1197 | <DD><DL> |
---|
| 1198 | <DT><B>Parameters:</B><DD><CODE>prefetchCount</CODE> - maximum number of messages that the server |
---|
| 1199 | will deliver, 0 if unlimited |
---|
| 1200 | <DT><B>Throws:</B> |
---|
| 1201 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/Channel.html#basicQos(int, int, boolean)"><CODE>basicQos(int, int, boolean)</CODE></A></DL> |
---|
| 1202 | </DD> |
---|
| 1203 | </DL> |
---|
| 1204 | <HR> |
---|
| 1205 | |
---|
| 1206 | <A NAME="basicPublish(java.lang.String, java.lang.String, com.rabbitmq.client.AMQP.BasicProperties, byte[])"><!-- --></A><H3> |
---|
| 1207 | basicPublish</H3> |
---|
| 1208 | <PRE> |
---|
| 1209 | void <B>basicPublish</B>(java.lang.String exchange, |
---|
| 1210 | java.lang.String routingKey, |
---|
| 1211 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> props, |
---|
| 1212 | byte[] body) |
---|
| 1213 | throws java.io.IOException</PRE> |
---|
| 1214 | <DL> |
---|
| 1215 | <DD>Publish a message |
---|
| 1216 | <P> |
---|
| 1217 | <DD><DL> |
---|
| 1218 | </DL> |
---|
| 1219 | </DD> |
---|
| 1220 | <DD><DL> |
---|
| 1221 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the exchange to publish the message to<DD><CODE>routingKey</CODE> - the routing key<DD><CODE>props</CODE> - other properties for the message - routing headers etc<DD><CODE>body</CODE> - the message body |
---|
| 1222 | <DT><B>Throws:</B> |
---|
| 1223 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Publish.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Publish</CODE></A></DL> |
---|
| 1224 | </DD> |
---|
| 1225 | </DL> |
---|
| 1226 | <HR> |
---|
| 1227 | |
---|
| 1228 | <A NAME="basicPublish(java.lang.String, java.lang.String, boolean, com.rabbitmq.client.AMQP.BasicProperties, byte[])"><!-- --></A><H3> |
---|
| 1229 | basicPublish</H3> |
---|
| 1230 | <PRE> |
---|
| 1231 | void <B>basicPublish</B>(java.lang.String exchange, |
---|
| 1232 | java.lang.String routingKey, |
---|
| 1233 | boolean mandatory, |
---|
| 1234 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> props, |
---|
| 1235 | byte[] body) |
---|
| 1236 | throws java.io.IOException</PRE> |
---|
| 1237 | <DL> |
---|
| 1238 | <DD>Publish a message |
---|
| 1239 | <P> |
---|
| 1240 | <DD><DL> |
---|
| 1241 | </DL> |
---|
| 1242 | </DD> |
---|
| 1243 | <DD><DL> |
---|
| 1244 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the exchange to publish the message to<DD><CODE>routingKey</CODE> - the routing key<DD><CODE>mandatory</CODE> - true if the 'mandatory' flag is to be set<DD><CODE>props</CODE> - other properties for the message - routing headers etc<DD><CODE>body</CODE> - the message body |
---|
| 1245 | <DT><B>Throws:</B> |
---|
| 1246 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Publish.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Publish</CODE></A></DL> |
---|
| 1247 | </DD> |
---|
| 1248 | </DL> |
---|
| 1249 | <HR> |
---|
| 1250 | |
---|
| 1251 | <A NAME="basicPublish(java.lang.String, java.lang.String, boolean, boolean, com.rabbitmq.client.AMQP.BasicProperties, byte[])"><!-- --></A><H3> |
---|
| 1252 | basicPublish</H3> |
---|
| 1253 | <PRE> |
---|
| 1254 | void <B>basicPublish</B>(java.lang.String exchange, |
---|
| 1255 | java.lang.String routingKey, |
---|
| 1256 | boolean mandatory, |
---|
| 1257 | boolean immediate, |
---|
| 1258 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> props, |
---|
| 1259 | byte[] body) |
---|
| 1260 | throws java.io.IOException</PRE> |
---|
| 1261 | <DL> |
---|
| 1262 | <DD>Publish a message |
---|
| 1263 | <P> |
---|
| 1264 | <DD><DL> |
---|
| 1265 | </DL> |
---|
| 1266 | </DD> |
---|
| 1267 | <DD><DL> |
---|
| 1268 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the exchange to publish the message to<DD><CODE>routingKey</CODE> - the routing key<DD><CODE>mandatory</CODE> - true if the 'mandatory' flag is to be set<DD><CODE>immediate</CODE> - true if the 'immediate' flag is to be |
---|
| 1269 | set. Note that the RabbitMQ server does not support this flag.<DD><CODE>props</CODE> - other properties for the message - routing headers etc<DD><CODE>body</CODE> - the message body |
---|
| 1270 | <DT><B>Throws:</B> |
---|
| 1271 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Publish.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Publish</CODE></A></DL> |
---|
| 1272 | </DD> |
---|
| 1273 | </DL> |
---|
| 1274 | <HR> |
---|
| 1275 | |
---|
| 1276 | <A NAME="exchangeDeclare(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 1277 | exchangeDeclare</H3> |
---|
| 1278 | <PRE> |
---|
| 1279 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A> <B>exchangeDeclare</B>(java.lang.String exchange, |
---|
| 1280 | java.lang.String type) |
---|
| 1281 | throws java.io.IOException</PRE> |
---|
| 1282 | <DL> |
---|
| 1283 | <DD>Actively declare a non-autodelete, non-durable exchange with no extra arguments |
---|
| 1284 | <P> |
---|
| 1285 | <DD><DL> |
---|
| 1286 | </DL> |
---|
| 1287 | </DD> |
---|
| 1288 | <DD><DL> |
---|
| 1289 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>type</CODE> - the exchange type |
---|
| 1290 | <DT><B>Returns:</B><DD>a declaration-confirm method to indicate the exchange was successfully declared |
---|
| 1291 | <DT><B>Throws:</B> |
---|
| 1292 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Declare.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Declare</CODE></A>, |
---|
| 1293 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.DeclareOk</CODE></A></DL> |
---|
| 1294 | </DD> |
---|
| 1295 | </DL> |
---|
| 1296 | <HR> |
---|
| 1297 | |
---|
| 1298 | <A NAME="exchangeDeclare(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3> |
---|
| 1299 | exchangeDeclare</H3> |
---|
| 1300 | <PRE> |
---|
| 1301 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A> <B>exchangeDeclare</B>(java.lang.String exchange, |
---|
| 1302 | java.lang.String type, |
---|
| 1303 | boolean durable) |
---|
| 1304 | throws java.io.IOException</PRE> |
---|
| 1305 | <DL> |
---|
| 1306 | <DD>Actively declare a non-autodelete exchange with no extra arguments |
---|
| 1307 | <P> |
---|
| 1308 | <DD><DL> |
---|
| 1309 | </DL> |
---|
| 1310 | </DD> |
---|
| 1311 | <DD><DL> |
---|
| 1312 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>type</CODE> - the exchange type<DD><CODE>durable</CODE> - true if we are declaring a durable exchange (the exchange will survive a server restart) |
---|
| 1313 | <DT><B>Returns:</B><DD>a declaration-confirm method to indicate the exchange was successfully declared |
---|
| 1314 | <DT><B>Throws:</B> |
---|
| 1315 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Declare.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Declare</CODE></A>, |
---|
| 1316 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.DeclareOk</CODE></A></DL> |
---|
| 1317 | </DD> |
---|
| 1318 | </DL> |
---|
| 1319 | <HR> |
---|
| 1320 | |
---|
| 1321 | <A NAME="exchangeDeclare(java.lang.String, java.lang.String, boolean, boolean, java.util.Map)"><!-- --></A><H3> |
---|
| 1322 | exchangeDeclare</H3> |
---|
| 1323 | <PRE> |
---|
| 1324 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A> <B>exchangeDeclare</B>(java.lang.String exchange, |
---|
| 1325 | java.lang.String type, |
---|
| 1326 | boolean durable, |
---|
| 1327 | boolean autoDelete, |
---|
| 1328 | java.util.Map<java.lang.String,java.lang.Object> arguments) |
---|
| 1329 | throws java.io.IOException</PRE> |
---|
| 1330 | <DL> |
---|
| 1331 | <DD>Declare an exchange. |
---|
| 1332 | <P> |
---|
| 1333 | <DD><DL> |
---|
| 1334 | </DL> |
---|
| 1335 | </DD> |
---|
| 1336 | <DD><DL> |
---|
| 1337 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>type</CODE> - the exchange type<DD><CODE>durable</CODE> - true if we are declaring a durable exchange (the exchange will survive a server restart)<DD><CODE>autoDelete</CODE> - true if the server should delete the exchange when it is no longer in use<DD><CODE>arguments</CODE> - other properties (construction arguments) for the exchange |
---|
| 1338 | <DT><B>Returns:</B><DD>a declaration-confirm method to indicate the exchange was successfully declared |
---|
| 1339 | <DT><B>Throws:</B> |
---|
| 1340 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Declare.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Declare</CODE></A>, |
---|
| 1341 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.DeclareOk</CODE></A></DL> |
---|
| 1342 | </DD> |
---|
| 1343 | </DL> |
---|
| 1344 | <HR> |
---|
| 1345 | |
---|
| 1346 | <A NAME="exchangeDeclare(java.lang.String, java.lang.String, boolean, boolean, boolean, java.util.Map)"><!-- --></A><H3> |
---|
| 1347 | exchangeDeclare</H3> |
---|
| 1348 | <PRE> |
---|
| 1349 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A> <B>exchangeDeclare</B>(java.lang.String exchange, |
---|
| 1350 | java.lang.String type, |
---|
| 1351 | boolean durable, |
---|
| 1352 | boolean autoDelete, |
---|
| 1353 | boolean internal, |
---|
| 1354 | java.util.Map<java.lang.String,java.lang.Object> arguments) |
---|
| 1355 | throws java.io.IOException</PRE> |
---|
| 1356 | <DL> |
---|
| 1357 | <DD>Declare an exchange, via an interface that allows the complete set of |
---|
| 1358 | arguments. |
---|
| 1359 | <P> |
---|
| 1360 | <DD><DL> |
---|
| 1361 | </DL> |
---|
| 1362 | </DD> |
---|
| 1363 | <DD><DL> |
---|
| 1364 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>type</CODE> - the exchange type<DD><CODE>durable</CODE> - true if we are declaring a durable exchange (the exchange will survive a server restart)<DD><CODE>autoDelete</CODE> - true if the server should delete the exchange when it is no longer in use<DD><CODE>internal</CODE> - true if the exchange is internal, i.e. can't be directly |
---|
| 1365 | published to by a client.<DD><CODE>arguments</CODE> - other properties (construction arguments) for the exchange |
---|
| 1366 | <DT><B>Returns:</B><DD>a declaration-confirm method to indicate the exchange was successfully declared |
---|
| 1367 | <DT><B>Throws:</B> |
---|
| 1368 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Declare.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Declare</CODE></A>, |
---|
| 1369 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.DeclareOk</CODE></A></DL> |
---|
| 1370 | </DD> |
---|
| 1371 | </DL> |
---|
| 1372 | <HR> |
---|
| 1373 | |
---|
| 1374 | <A NAME="exchangeDeclarePassive(java.lang.String)"><!-- --></A><H3> |
---|
| 1375 | exchangeDeclarePassive</H3> |
---|
| 1376 | <PRE> |
---|
| 1377 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeclareOk</A> <B>exchangeDeclarePassive</B>(java.lang.String name) |
---|
| 1378 | throws java.io.IOException</PRE> |
---|
| 1379 | <DL> |
---|
| 1380 | <DD>Declare an exchange passively; that is, check if the named exchange exists. |
---|
| 1381 | <P> |
---|
| 1382 | <DD><DL> |
---|
| 1383 | </DL> |
---|
| 1384 | </DD> |
---|
| 1385 | <DD><DL> |
---|
| 1386 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - check the existence of an exchange named this |
---|
| 1387 | <DT><B>Throws:</B> |
---|
| 1388 | <DD><CODE>java.io.IOException</CODE> - the server will raise a 404 channel exception if the named exchange does not exist.</DL> |
---|
| 1389 | </DD> |
---|
| 1390 | </DL> |
---|
| 1391 | <HR> |
---|
| 1392 | |
---|
| 1393 | <A NAME="exchangeDelete(java.lang.String, boolean)"><!-- --></A><H3> |
---|
| 1394 | exchangeDelete</H3> |
---|
| 1395 | <PRE> |
---|
| 1396 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeleteOk</A> <B>exchangeDelete</B>(java.lang.String exchange, |
---|
| 1397 | boolean ifUnused) |
---|
| 1398 | throws java.io.IOException</PRE> |
---|
| 1399 | <DL> |
---|
| 1400 | <DD>Delete an exchange |
---|
| 1401 | <P> |
---|
| 1402 | <DD><DL> |
---|
| 1403 | </DL> |
---|
| 1404 | </DD> |
---|
| 1405 | <DD><DL> |
---|
| 1406 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>ifUnused</CODE> - true to indicate that the exchange is only to be deleted if it is unused |
---|
| 1407 | <DT><B>Returns:</B><DD>a deletion-confirm method to indicate the exchange was successfully deleted |
---|
| 1408 | <DT><B>Throws:</B> |
---|
| 1409 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Delete.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Delete</CODE></A>, |
---|
| 1410 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.DeleteOk</CODE></A></DL> |
---|
| 1411 | </DD> |
---|
| 1412 | </DL> |
---|
| 1413 | <HR> |
---|
| 1414 | |
---|
| 1415 | <A NAME="exchangeDelete(java.lang.String)"><!-- --></A><H3> |
---|
| 1416 | exchangeDelete</H3> |
---|
| 1417 | <PRE> |
---|
| 1418 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.DeleteOk</A> <B>exchangeDelete</B>(java.lang.String exchange) |
---|
| 1419 | throws java.io.IOException</PRE> |
---|
| 1420 | <DL> |
---|
| 1421 | <DD>Delete an exchange, without regard for whether it is in use or not |
---|
| 1422 | <P> |
---|
| 1423 | <DD><DL> |
---|
| 1424 | </DL> |
---|
| 1425 | </DD> |
---|
| 1426 | <DD><DL> |
---|
| 1427 | <DT><B>Parameters:</B><DD><CODE>exchange</CODE> - the name of the exchange |
---|
| 1428 | <DT><B>Returns:</B><DD>a deletion-confirm method to indicate the exchange was successfully deleted |
---|
| 1429 | <DT><B>Throws:</B> |
---|
| 1430 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Delete.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Delete</CODE></A>, |
---|
| 1431 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.DeleteOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.DeleteOk</CODE></A></DL> |
---|
| 1432 | </DD> |
---|
| 1433 | </DL> |
---|
| 1434 | <HR> |
---|
| 1435 | |
---|
| 1436 | <A NAME="exchangeBind(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 1437 | exchangeBind</H3> |
---|
| 1438 | <PRE> |
---|
| 1439 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.BindOk</A> <B>exchangeBind</B>(java.lang.String destination, |
---|
| 1440 | java.lang.String source, |
---|
| 1441 | java.lang.String routingKey) |
---|
| 1442 | throws java.io.IOException</PRE> |
---|
| 1443 | <DL> |
---|
| 1444 | <DD>Bind an exchange to an exchange, with no extra arguments. |
---|
| 1445 | <P> |
---|
| 1446 | <DD><DL> |
---|
| 1447 | </DL> |
---|
| 1448 | </DD> |
---|
| 1449 | <DD><DL> |
---|
| 1450 | <DT><B>Parameters:</B><DD><CODE>destination</CODE> - the name of the exchange to which messages flow across the binding<DD><CODE>source</CODE> - the name of the exchange from which messages flow across the binding<DD><CODE>routingKey</CODE> - the routine key to use for the binding |
---|
| 1451 | <DT><B>Returns:</B><DD>a binding-confirm method if the binding was successfully created |
---|
| 1452 | <DT><B>Throws:</B> |
---|
| 1453 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Bind.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Bind</CODE></A>, |
---|
| 1454 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.BindOk</CODE></A></DL> |
---|
| 1455 | </DD> |
---|
| 1456 | </DL> |
---|
| 1457 | <HR> |
---|
| 1458 | |
---|
| 1459 | <A NAME="exchangeBind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"><!-- --></A><H3> |
---|
| 1460 | exchangeBind</H3> |
---|
| 1461 | <PRE> |
---|
| 1462 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.BindOk</A> <B>exchangeBind</B>(java.lang.String destination, |
---|
| 1463 | java.lang.String source, |
---|
| 1464 | java.lang.String routingKey, |
---|
| 1465 | java.util.Map<java.lang.String,java.lang.Object> arguments) |
---|
| 1466 | throws java.io.IOException</PRE> |
---|
| 1467 | <DL> |
---|
| 1468 | <DD>Bind an exchange to an exchange. |
---|
| 1469 | <P> |
---|
| 1470 | <DD><DL> |
---|
| 1471 | </DL> |
---|
| 1472 | </DD> |
---|
| 1473 | <DD><DL> |
---|
| 1474 | <DT><B>Parameters:</B><DD><CODE>destination</CODE> - the name of the exchange to which messages flow across the binding<DD><CODE>source</CODE> - the name of the exchange from which messages flow across the binding<DD><CODE>routingKey</CODE> - the routine key to use for the binding<DD><CODE>arguments</CODE> - other properties (binding parameters) |
---|
| 1475 | <DT><B>Returns:</B><DD>a binding-confirm method if the binding was successfully created |
---|
| 1476 | <DT><B>Throws:</B> |
---|
| 1477 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Bind.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Bind</CODE></A>, |
---|
| 1478 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.BindOk</CODE></A></DL> |
---|
| 1479 | </DD> |
---|
| 1480 | </DL> |
---|
| 1481 | <HR> |
---|
| 1482 | |
---|
| 1483 | <A NAME="exchangeUnbind(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 1484 | exchangeUnbind</H3> |
---|
| 1485 | <PRE> |
---|
| 1486 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.UnbindOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.UnbindOk</A> <B>exchangeUnbind</B>(java.lang.String destination, |
---|
| 1487 | java.lang.String source, |
---|
| 1488 | java.lang.String routingKey) |
---|
| 1489 | throws java.io.IOException</PRE> |
---|
| 1490 | <DL> |
---|
| 1491 | <DD>Unbind an exchange from an exchange, with no extra arguments. |
---|
| 1492 | <P> |
---|
| 1493 | <DD><DL> |
---|
| 1494 | </DL> |
---|
| 1495 | </DD> |
---|
| 1496 | <DD><DL> |
---|
| 1497 | <DT><B>Parameters:</B><DD><CODE>destination</CODE> - the name of the exchange to which messages flow across the binding<DD><CODE>source</CODE> - the name of the exchange from which messages flow across the binding<DD><CODE>routingKey</CODE> - the routine key to use for the binding |
---|
| 1498 | <DT><B>Returns:</B><DD>a binding-confirm method if the binding was successfully created |
---|
| 1499 | <DT><B>Throws:</B> |
---|
| 1500 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Bind.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Bind</CODE></A>, |
---|
| 1501 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.BindOk</CODE></A></DL> |
---|
| 1502 | </DD> |
---|
| 1503 | </DL> |
---|
| 1504 | <HR> |
---|
| 1505 | |
---|
| 1506 | <A NAME="exchangeUnbind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"><!-- --></A><H3> |
---|
| 1507 | exchangeUnbind</H3> |
---|
| 1508 | <PRE> |
---|
| 1509 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.UnbindOk.html" title="interface in com.rabbitmq.client">AMQP.Exchange.UnbindOk</A> <B>exchangeUnbind</B>(java.lang.String destination, |
---|
| 1510 | java.lang.String source, |
---|
| 1511 | java.lang.String routingKey, |
---|
| 1512 | java.util.Map<java.lang.String,java.lang.Object> arguments) |
---|
| 1513 | throws java.io.IOException</PRE> |
---|
| 1514 | <DL> |
---|
| 1515 | <DD>Unbind an exchange from an exchange. |
---|
| 1516 | <P> |
---|
| 1517 | <DD><DL> |
---|
| 1518 | </DL> |
---|
| 1519 | </DD> |
---|
| 1520 | <DD><DL> |
---|
| 1521 | <DT><B>Parameters:</B><DD><CODE>destination</CODE> - the name of the exchange to which messages flow across the binding<DD><CODE>source</CODE> - the name of the exchange from which messages flow across the binding<DD><CODE>routingKey</CODE> - the routine key to use for the binding<DD><CODE>arguments</CODE> - other properties (binding parameters) |
---|
| 1522 | <DT><B>Returns:</B><DD>a binding-confirm method if the binding was successfully created |
---|
| 1523 | <DT><B>Throws:</B> |
---|
| 1524 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Exchange.Bind.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.Bind</CODE></A>, |
---|
| 1525 | <A HREF="../../../com/rabbitmq/client/AMQP.Exchange.BindOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Exchange.BindOk</CODE></A></DL> |
---|
| 1526 | </DD> |
---|
| 1527 | </DL> |
---|
| 1528 | <HR> |
---|
| 1529 | |
---|
| 1530 | <A NAME="queueDeclare()"><!-- --></A><H3> |
---|
| 1531 | queueDeclare</H3> |
---|
| 1532 | <PRE> |
---|
| 1533 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeclareOk</A> <B>queueDeclare</B>() |
---|
| 1534 | throws java.io.IOException</PRE> |
---|
| 1535 | <DL> |
---|
| 1536 | <DD>Actively declare a server-named exclusive, autodelete, non-durable queue. |
---|
| 1537 | 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. |
---|
| 1538 | <P> |
---|
| 1539 | <DD><DL> |
---|
| 1540 | </DL> |
---|
| 1541 | </DD> |
---|
| 1542 | <DD><DL> |
---|
| 1543 | |
---|
| 1544 | <DT><B>Returns:</B><DD>a declaration-confirm method to indicate the queue was successfully declared |
---|
| 1545 | <DT><B>Throws:</B> |
---|
| 1546 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Declare.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Declare</CODE></A>, |
---|
| 1547 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.DeclareOk</CODE></A></DL> |
---|
| 1548 | </DD> |
---|
| 1549 | </DL> |
---|
| 1550 | <HR> |
---|
| 1551 | |
---|
| 1552 | <A NAME="queueDeclare(java.lang.String, boolean, boolean, boolean, java.util.Map)"><!-- --></A><H3> |
---|
| 1553 | queueDeclare</H3> |
---|
| 1554 | <PRE> |
---|
| 1555 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeclareOk</A> <B>queueDeclare</B>(java.lang.String queue, |
---|
| 1556 | boolean durable, |
---|
| 1557 | boolean exclusive, |
---|
| 1558 | boolean autoDelete, |
---|
| 1559 | java.util.Map<java.lang.String,java.lang.Object> arguments) |
---|
| 1560 | throws java.io.IOException</PRE> |
---|
| 1561 | <DL> |
---|
| 1562 | <DD>Declare a queue |
---|
| 1563 | <P> |
---|
| 1564 | <DD><DL> |
---|
| 1565 | </DL> |
---|
| 1566 | </DD> |
---|
| 1567 | <DD><DL> |
---|
| 1568 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>durable</CODE> - true if we are declaring a durable queue (the queue will survive a server restart)<DD><CODE>exclusive</CODE> - true if we are declaring an exclusive queue (restricted to this connection)<DD><CODE>autoDelete</CODE> - true if we are declaring an autodelete queue (server will delete it when no longer in use)<DD><CODE>arguments</CODE> - other properties (construction arguments) for the queue |
---|
| 1569 | <DT><B>Returns:</B><DD>a declaration-confirm method to indicate the queue was successfully declared |
---|
| 1570 | <DT><B>Throws:</B> |
---|
| 1571 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Declare.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Declare</CODE></A>, |
---|
| 1572 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.DeclareOk</CODE></A></DL> |
---|
| 1573 | </DD> |
---|
| 1574 | </DL> |
---|
| 1575 | <HR> |
---|
| 1576 | |
---|
| 1577 | <A NAME="queueDeclarePassive(java.lang.String)"><!-- --></A><H3> |
---|
| 1578 | queueDeclarePassive</H3> |
---|
| 1579 | <PRE> |
---|
| 1580 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeclareOk</A> <B>queueDeclarePassive</B>(java.lang.String queue) |
---|
| 1581 | throws java.io.IOException</PRE> |
---|
| 1582 | <DL> |
---|
| 1583 | <DD>Declare a queue passively; i.e., check if it exists. In AMQP |
---|
| 1584 | 0-9-1, all arguments aside from nowait are ignored; and sending |
---|
| 1585 | nowait makes this method a no-op, so we default it to false. |
---|
| 1586 | <P> |
---|
| 1587 | <DD><DL> |
---|
| 1588 | </DL> |
---|
| 1589 | </DD> |
---|
| 1590 | <DD><DL> |
---|
| 1591 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue |
---|
| 1592 | <DT><B>Returns:</B><DD>a declaration-confirm method to indicate the queue exists |
---|
| 1593 | <DT><B>Throws:</B> |
---|
| 1594 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered, |
---|
| 1595 | including if the queue does not exist and if the queue is |
---|
| 1596 | exclusively owned by another connection.<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Declare.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Declare</CODE></A>, |
---|
| 1597 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeclareOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.DeclareOk</CODE></A></DL> |
---|
| 1598 | </DD> |
---|
| 1599 | </DL> |
---|
| 1600 | <HR> |
---|
| 1601 | |
---|
| 1602 | <A NAME="queueDelete(java.lang.String)"><!-- --></A><H3> |
---|
| 1603 | queueDelete</H3> |
---|
| 1604 | <PRE> |
---|
| 1605 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeleteOk</A> <B>queueDelete</B>(java.lang.String queue) |
---|
| 1606 | throws java.io.IOException</PRE> |
---|
| 1607 | <DL> |
---|
| 1608 | <DD>Delete a queue, without regard for whether it is in use or has messages on it |
---|
| 1609 | <P> |
---|
| 1610 | <DD><DL> |
---|
| 1611 | </DL> |
---|
| 1612 | </DD> |
---|
| 1613 | <DD><DL> |
---|
| 1614 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue |
---|
| 1615 | <DT><B>Returns:</B><DD>a deletion-confirm method to indicate the queue was successfully deleted |
---|
| 1616 | <DT><B>Throws:</B> |
---|
| 1617 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Delete.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Delete</CODE></A>, |
---|
| 1618 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.DeleteOk</CODE></A></DL> |
---|
| 1619 | </DD> |
---|
| 1620 | </DL> |
---|
| 1621 | <HR> |
---|
| 1622 | |
---|
| 1623 | <A NAME="queueDelete(java.lang.String, boolean, boolean)"><!-- --></A><H3> |
---|
| 1624 | queueDelete</H3> |
---|
| 1625 | <PRE> |
---|
| 1626 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.DeleteOk</A> <B>queueDelete</B>(java.lang.String queue, |
---|
| 1627 | boolean ifUnused, |
---|
| 1628 | boolean ifEmpty) |
---|
| 1629 | throws java.io.IOException</PRE> |
---|
| 1630 | <DL> |
---|
| 1631 | <DD>Delete a queue |
---|
| 1632 | <P> |
---|
| 1633 | <DD><DL> |
---|
| 1634 | </DL> |
---|
| 1635 | </DD> |
---|
| 1636 | <DD><DL> |
---|
| 1637 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>ifUnused</CODE> - true if the queue should be deleted only if not in use<DD><CODE>ifEmpty</CODE> - true if the queue should be deleted only if empty |
---|
| 1638 | <DT><B>Returns:</B><DD>a deletion-confirm method to indicate the queue was successfully deleted |
---|
| 1639 | <DT><B>Throws:</B> |
---|
| 1640 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Delete.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Delete</CODE></A>, |
---|
| 1641 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.DeleteOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.DeleteOk</CODE></A></DL> |
---|
| 1642 | </DD> |
---|
| 1643 | </DL> |
---|
| 1644 | <HR> |
---|
| 1645 | |
---|
| 1646 | <A NAME="queueBind(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 1647 | queueBind</H3> |
---|
| 1648 | <PRE> |
---|
| 1649 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.BindOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.BindOk</A> <B>queueBind</B>(java.lang.String queue, |
---|
| 1650 | java.lang.String exchange, |
---|
| 1651 | java.lang.String routingKey) |
---|
| 1652 | throws java.io.IOException</PRE> |
---|
| 1653 | <DL> |
---|
| 1654 | <DD>Bind a queue to an exchange, with no extra arguments. |
---|
| 1655 | <P> |
---|
| 1656 | <DD><DL> |
---|
| 1657 | </DL> |
---|
| 1658 | </DD> |
---|
| 1659 | <DD><DL> |
---|
| 1660 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>routingKey</CODE> - the routine key to use for the binding |
---|
| 1661 | <DT><B>Returns:</B><DD>a binding-confirm method if the binding was successfully created |
---|
| 1662 | <DT><B>Throws:</B> |
---|
| 1663 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Bind.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Bind</CODE></A>, |
---|
| 1664 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.BindOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.BindOk</CODE></A></DL> |
---|
| 1665 | </DD> |
---|
| 1666 | </DL> |
---|
| 1667 | <HR> |
---|
| 1668 | |
---|
| 1669 | <A NAME="queueBind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"><!-- --></A><H3> |
---|
| 1670 | queueBind</H3> |
---|
| 1671 | <PRE> |
---|
| 1672 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.BindOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.BindOk</A> <B>queueBind</B>(java.lang.String queue, |
---|
| 1673 | java.lang.String exchange, |
---|
| 1674 | java.lang.String routingKey, |
---|
| 1675 | java.util.Map<java.lang.String,java.lang.Object> arguments) |
---|
| 1676 | throws java.io.IOException</PRE> |
---|
| 1677 | <DL> |
---|
| 1678 | <DD>Bind a queue to an exchange. |
---|
| 1679 | <P> |
---|
| 1680 | <DD><DL> |
---|
| 1681 | </DL> |
---|
| 1682 | </DD> |
---|
| 1683 | <DD><DL> |
---|
| 1684 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>routingKey</CODE> - the routine key to use for the binding<DD><CODE>arguments</CODE> - other properties (binding parameters) |
---|
| 1685 | <DT><B>Returns:</B><DD>a binding-confirm method if the binding was successfully created |
---|
| 1686 | <DT><B>Throws:</B> |
---|
| 1687 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Bind.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Bind</CODE></A>, |
---|
| 1688 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.BindOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.BindOk</CODE></A></DL> |
---|
| 1689 | </DD> |
---|
| 1690 | </DL> |
---|
| 1691 | <HR> |
---|
| 1692 | |
---|
| 1693 | <A NAME="queueUnbind(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 1694 | queueUnbind</H3> |
---|
| 1695 | <PRE> |
---|
| 1696 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.UnbindOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.UnbindOk</A> <B>queueUnbind</B>(java.lang.String queue, |
---|
| 1697 | java.lang.String exchange, |
---|
| 1698 | java.lang.String routingKey) |
---|
| 1699 | throws java.io.IOException</PRE> |
---|
| 1700 | <DL> |
---|
| 1701 | <DD>Unbinds a queue from an exchange, with no extra arguments. |
---|
| 1702 | <P> |
---|
| 1703 | <DD><DL> |
---|
| 1704 | </DL> |
---|
| 1705 | </DD> |
---|
| 1706 | <DD><DL> |
---|
| 1707 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>routingKey</CODE> - the routine key to use for the binding |
---|
| 1708 | <DT><B>Returns:</B><DD>an unbinding-confirm method if the binding was successfully deleted |
---|
| 1709 | <DT><B>Throws:</B> |
---|
| 1710 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Unbind.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Unbind</CODE></A>, |
---|
| 1711 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.UnbindOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.UnbindOk</CODE></A></DL> |
---|
| 1712 | </DD> |
---|
| 1713 | </DL> |
---|
| 1714 | <HR> |
---|
| 1715 | |
---|
| 1716 | <A NAME="queueUnbind(java.lang.String, java.lang.String, java.lang.String, java.util.Map)"><!-- --></A><H3> |
---|
| 1717 | queueUnbind</H3> |
---|
| 1718 | <PRE> |
---|
| 1719 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.UnbindOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.UnbindOk</A> <B>queueUnbind</B>(java.lang.String queue, |
---|
| 1720 | java.lang.String exchange, |
---|
| 1721 | java.lang.String routingKey, |
---|
| 1722 | java.util.Map<java.lang.String,java.lang.Object> arguments) |
---|
| 1723 | throws java.io.IOException</PRE> |
---|
| 1724 | <DL> |
---|
| 1725 | <DD>Unbind a queue from an exchange. |
---|
| 1726 | <P> |
---|
| 1727 | <DD><DL> |
---|
| 1728 | </DL> |
---|
| 1729 | </DD> |
---|
| 1730 | <DD><DL> |
---|
| 1731 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>exchange</CODE> - the name of the exchange<DD><CODE>routingKey</CODE> - the routine key to use for the binding<DD><CODE>arguments</CODE> - other properties (binding parameters) |
---|
| 1732 | <DT><B>Returns:</B><DD>an unbinding-confirm method if the binding was successfully deleted |
---|
| 1733 | <DT><B>Throws:</B> |
---|
| 1734 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Unbind.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Unbind</CODE></A>, |
---|
| 1735 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.UnbindOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.UnbindOk</CODE></A></DL> |
---|
| 1736 | </DD> |
---|
| 1737 | </DL> |
---|
| 1738 | <HR> |
---|
| 1739 | |
---|
| 1740 | <A NAME="queuePurge(java.lang.String)"><!-- --></A><H3> |
---|
| 1741 | queuePurge</H3> |
---|
| 1742 | <PRE> |
---|
| 1743 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.PurgeOk.html" title="interface in com.rabbitmq.client">AMQP.Queue.PurgeOk</A> <B>queuePurge</B>(java.lang.String queue) |
---|
| 1744 | throws java.io.IOException</PRE> |
---|
| 1745 | <DL> |
---|
| 1746 | <DD>Purges the contents of the given queue. |
---|
| 1747 | <P> |
---|
| 1748 | <DD><DL> |
---|
| 1749 | </DL> |
---|
| 1750 | </DD> |
---|
| 1751 | <DD><DL> |
---|
| 1752 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue |
---|
| 1753 | <DT><B>Returns:</B><DD>a purge-confirm method if the purge was executed succesfully |
---|
| 1754 | <DT><B>Throws:</B> |
---|
| 1755 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Queue.Purge.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.Purge</CODE></A>, |
---|
| 1756 | <A HREF="../../../com/rabbitmq/client/AMQP.Queue.PurgeOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Queue.PurgeOk</CODE></A></DL> |
---|
| 1757 | </DD> |
---|
| 1758 | </DL> |
---|
| 1759 | <HR> |
---|
| 1760 | |
---|
| 1761 | <A NAME="basicGet(java.lang.String, boolean)"><!-- --></A><H3> |
---|
| 1762 | basicGet</H3> |
---|
| 1763 | <PRE> |
---|
| 1764 | <A HREF="../../../com/rabbitmq/client/GetResponse.html" title="class in com.rabbitmq.client">GetResponse</A> <B>basicGet</B>(java.lang.String queue, |
---|
| 1765 | boolean autoAck) |
---|
| 1766 | throws java.io.IOException</PRE> |
---|
| 1767 | <DL> |
---|
| 1768 | <DD>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> |
---|
| 1769 | <P> |
---|
| 1770 | <DD><DL> |
---|
| 1771 | </DL> |
---|
| 1772 | </DD> |
---|
| 1773 | <DD><DL> |
---|
| 1774 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>autoAck</CODE> - true if the server should consider messages |
---|
| 1775 | acknowledged once delivered; false if the server should expect |
---|
| 1776 | explicit acknowledgements |
---|
| 1777 | <DT><B>Returns:</B><DD>a <A HREF="../../../com/rabbitmq/client/GetResponse.html" title="class in com.rabbitmq.client"><CODE>GetResponse</CODE></A> containing the retrieved message data |
---|
| 1778 | <DT><B>Throws:</B> |
---|
| 1779 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Get.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Get</CODE></A>, |
---|
| 1780 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.GetOk</CODE></A>, |
---|
| 1781 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.GetEmpty.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.GetEmpty</CODE></A></DL> |
---|
| 1782 | </DD> |
---|
| 1783 | </DL> |
---|
| 1784 | <HR> |
---|
| 1785 | |
---|
| 1786 | <A NAME="basicAck(long, boolean)"><!-- --></A><H3> |
---|
| 1787 | basicAck</H3> |
---|
| 1788 | <PRE> |
---|
| 1789 | void <B>basicAck</B>(long deliveryTag, |
---|
| 1790 | boolean multiple) |
---|
| 1791 | throws java.io.IOException</PRE> |
---|
| 1792 | <DL> |
---|
| 1793 | <DD>Acknowledge one or several received |
---|
| 1794 | 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> |
---|
| 1795 | or <A HREF="../../../com/rabbitmq/client/AMQP.Basic.Deliver.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Deliver</CODE></A> method |
---|
| 1796 | containing the received message being acknowledged. |
---|
| 1797 | <P> |
---|
| 1798 | <DD><DL> |
---|
| 1799 | </DL> |
---|
| 1800 | </DD> |
---|
| 1801 | <DD><DL> |
---|
| 1802 | <DT><B>Parameters:</B><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><CODE>multiple</CODE> - true to acknowledge all messages up to and |
---|
| 1803 | including the supplied delivery tag; false to acknowledge just |
---|
| 1804 | the supplied delivery tag. |
---|
| 1805 | <DT><B>Throws:</B> |
---|
| 1806 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Ack.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Ack</CODE></A></DL> |
---|
| 1807 | </DD> |
---|
| 1808 | </DL> |
---|
| 1809 | <HR> |
---|
| 1810 | |
---|
| 1811 | <A NAME="basicNack(long, boolean, boolean)"><!-- --></A><H3> |
---|
| 1812 | basicNack</H3> |
---|
| 1813 | <PRE> |
---|
| 1814 | void <B>basicNack</B>(long deliveryTag, |
---|
| 1815 | boolean multiple, |
---|
| 1816 | boolean requeue) |
---|
| 1817 | throws java.io.IOException</PRE> |
---|
| 1818 | <DL> |
---|
| 1819 | <DD>Reject one or several received messages. |
---|
| 1820 | |
---|
| 1821 | 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> |
---|
| 1822 | 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. |
---|
| 1823 | <P> |
---|
| 1824 | <DD><DL> |
---|
| 1825 | </DL> |
---|
| 1826 | </DD> |
---|
| 1827 | <DD><DL> |
---|
| 1828 | <DT><B>Parameters:</B><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><CODE>multiple</CODE> - true to reject all messages up to and including |
---|
| 1829 | the supplied delivery tag; false to reject just the supplied |
---|
| 1830 | delivery tag.<DD><CODE>requeue</CODE> - true if the rejected message(s) should be requeued rather |
---|
| 1831 | than discarded/dead-lettered |
---|
| 1832 | <DT><B>Throws:</B> |
---|
| 1833 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Nack.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Nack</CODE></A></DL> |
---|
| 1834 | </DD> |
---|
| 1835 | </DL> |
---|
| 1836 | <HR> |
---|
| 1837 | |
---|
| 1838 | <A NAME="basicReject(long, boolean)"><!-- --></A><H3> |
---|
| 1839 | basicReject</H3> |
---|
| 1840 | <PRE> |
---|
| 1841 | void <B>basicReject</B>(long deliveryTag, |
---|
| 1842 | boolean requeue) |
---|
| 1843 | throws java.io.IOException</PRE> |
---|
| 1844 | <DL> |
---|
| 1845 | <DD>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> |
---|
| 1846 | or <A HREF="../../../com/rabbitmq/client/AMQP.Basic.Deliver.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Deliver</CODE></A> method |
---|
| 1847 | containing the received message being rejected. |
---|
| 1848 | <P> |
---|
| 1849 | <DD><DL> |
---|
| 1850 | </DL> |
---|
| 1851 | </DD> |
---|
| 1852 | <DD><DL> |
---|
| 1853 | <DT><B>Parameters:</B><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><CODE>requeue</CODE> - true if the rejected message should be requeued rather than discarded/dead-lettered |
---|
| 1854 | <DT><B>Throws:</B> |
---|
| 1855 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Reject.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Reject</CODE></A></DL> |
---|
| 1856 | </DD> |
---|
| 1857 | </DL> |
---|
| 1858 | <HR> |
---|
| 1859 | |
---|
| 1860 | <A NAME="basicConsume(java.lang.String, com.rabbitmq.client.Consumer)"><!-- --></A><H3> |
---|
| 1861 | basicConsume</H3> |
---|
| 1862 | <PRE> |
---|
| 1863 | java.lang.String <B>basicConsume</B>(java.lang.String queue, |
---|
| 1864 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> callback) |
---|
| 1865 | throws java.io.IOException</PRE> |
---|
| 1866 | <DL> |
---|
| 1867 | <DD>Start a non-nolocal, non-exclusive consumer, with |
---|
| 1868 | explicit acknowledgement and a server-generated consumerTag. |
---|
| 1869 | <P> |
---|
| 1870 | <DD><DL> |
---|
| 1871 | </DL> |
---|
| 1872 | </DD> |
---|
| 1873 | <DD><DL> |
---|
| 1874 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>callback</CODE> - an interface to the consumer object |
---|
| 1875 | <DT><B>Returns:</B><DD>the consumerTag generated by the server |
---|
| 1876 | <DT><B>Throws:</B> |
---|
| 1877 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Consume</CODE></A>, |
---|
| 1878 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.ConsumeOk</CODE></A>, |
---|
| 1879 | <A HREF="../../../com/rabbitmq/client/Channel.html#basicAck(long, boolean)"><CODE>basicAck(long, boolean)</CODE></A>, |
---|
| 1880 | <A HREF="../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String, boolean, java.lang.String, boolean, boolean, java.util.Map, com.rabbitmq.client.Consumer)"><CODE>basicConsume(String, boolean, String, boolean, boolean, Map, Consumer)</CODE></A></DL> |
---|
| 1881 | </DD> |
---|
| 1882 | </DL> |
---|
| 1883 | <HR> |
---|
| 1884 | |
---|
| 1885 | <A NAME="basicConsume(java.lang.String, boolean, com.rabbitmq.client.Consumer)"><!-- --></A><H3> |
---|
| 1886 | basicConsume</H3> |
---|
| 1887 | <PRE> |
---|
| 1888 | java.lang.String <B>basicConsume</B>(java.lang.String queue, |
---|
| 1889 | boolean autoAck, |
---|
| 1890 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> callback) |
---|
| 1891 | throws java.io.IOException</PRE> |
---|
| 1892 | <DL> |
---|
| 1893 | <DD>Start a non-nolocal, non-exclusive consumer, with |
---|
| 1894 | a server-generated consumerTag. |
---|
| 1895 | <P> |
---|
| 1896 | <DD><DL> |
---|
| 1897 | </DL> |
---|
| 1898 | </DD> |
---|
| 1899 | <DD><DL> |
---|
| 1900 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>autoAck</CODE> - true if the server should consider messages |
---|
| 1901 | acknowledged once delivered; false if the server should expect |
---|
| 1902 | explicit acknowledgements<DD><CODE>callback</CODE> - an interface to the consumer object |
---|
| 1903 | <DT><B>Returns:</B><DD>the consumerTag generated by the server |
---|
| 1904 | <DT><B>Throws:</B> |
---|
| 1905 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Consume</CODE></A>, |
---|
| 1906 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.ConsumeOk</CODE></A>, |
---|
| 1907 | <A HREF="../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String, boolean, java.lang.String, boolean, boolean, java.util.Map, com.rabbitmq.client.Consumer)"><CODE>basicConsume(String, boolean, String, boolean, boolean, Map, Consumer)</CODE></A></DL> |
---|
| 1908 | </DD> |
---|
| 1909 | </DL> |
---|
| 1910 | <HR> |
---|
| 1911 | |
---|
| 1912 | <A NAME="basicConsume(java.lang.String, boolean, java.lang.String, com.rabbitmq.client.Consumer)"><!-- --></A><H3> |
---|
| 1913 | basicConsume</H3> |
---|
| 1914 | <PRE> |
---|
| 1915 | java.lang.String <B>basicConsume</B>(java.lang.String queue, |
---|
| 1916 | boolean autoAck, |
---|
| 1917 | java.lang.String consumerTag, |
---|
| 1918 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> callback) |
---|
| 1919 | throws java.io.IOException</PRE> |
---|
| 1920 | <DL> |
---|
| 1921 | <DD>Start a non-nolocal, non-exclusive consumer. |
---|
| 1922 | <P> |
---|
| 1923 | <DD><DL> |
---|
| 1924 | </DL> |
---|
| 1925 | </DD> |
---|
| 1926 | <DD><DL> |
---|
| 1927 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>autoAck</CODE> - true if the server should consider messages |
---|
| 1928 | acknowledged once delivered; false if the server should expect |
---|
| 1929 | explicit acknowledgements<DD><CODE>consumerTag</CODE> - a client-generated consumer tag to establish context<DD><CODE>callback</CODE> - an interface to the consumer object |
---|
| 1930 | <DT><B>Returns:</B><DD>the consumerTag associated with the new consumer |
---|
| 1931 | <DT><B>Throws:</B> |
---|
| 1932 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Consume</CODE></A>, |
---|
| 1933 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.ConsumeOk</CODE></A>, |
---|
| 1934 | <A HREF="../../../com/rabbitmq/client/Channel.html#basicConsume(java.lang.String, boolean, java.lang.String, boolean, boolean, java.util.Map, com.rabbitmq.client.Consumer)"><CODE>basicConsume(String, boolean, String, boolean, boolean, Map, Consumer)</CODE></A></DL> |
---|
| 1935 | </DD> |
---|
| 1936 | </DL> |
---|
| 1937 | <HR> |
---|
| 1938 | |
---|
| 1939 | <A NAME="basicConsume(java.lang.String, boolean, java.lang.String, boolean, boolean, java.util.Map, com.rabbitmq.client.Consumer)"><!-- --></A><H3> |
---|
| 1940 | basicConsume</H3> |
---|
| 1941 | <PRE> |
---|
| 1942 | java.lang.String <B>basicConsume</B>(java.lang.String queue, |
---|
| 1943 | boolean autoAck, |
---|
| 1944 | java.lang.String consumerTag, |
---|
| 1945 | boolean noLocal, |
---|
| 1946 | boolean exclusive, |
---|
| 1947 | java.util.Map<java.lang.String,java.lang.Object> arguments, |
---|
| 1948 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client">Consumer</A> callback) |
---|
| 1949 | throws java.io.IOException</PRE> |
---|
| 1950 | <DL> |
---|
| 1951 | <DD>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> |
---|
| 1952 | method. |
---|
| 1953 | <P> |
---|
| 1954 | <DD><DL> |
---|
| 1955 | </DL> |
---|
| 1956 | </DD> |
---|
| 1957 | <DD><DL> |
---|
| 1958 | <DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue<DD><CODE>autoAck</CODE> - true if the server should consider messages |
---|
| 1959 | acknowledged once delivered; false if the server should expect |
---|
| 1960 | explicit acknowledgements<DD><CODE>consumerTag</CODE> - a client-generated consumer tag to establish context<DD><CODE>noLocal</CODE> - true if the server should not deliver to this consumer |
---|
| 1961 | messages published on this channel's connection<DD><CODE>exclusive</CODE> - true if this is an exclusive consumer<DD><CODE>callback</CODE> - an interface to the consumer object<DD><CODE>arguments</CODE> - a set of arguments for the consume |
---|
| 1962 | <DT><B>Returns:</B><DD>the consumerTag associated with the new consumer |
---|
| 1963 | <DT><B>Throws:</B> |
---|
| 1964 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Consume.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Consume</CODE></A>, |
---|
| 1965 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.ConsumeOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.ConsumeOk</CODE></A></DL> |
---|
| 1966 | </DD> |
---|
| 1967 | </DL> |
---|
| 1968 | <HR> |
---|
| 1969 | |
---|
| 1970 | <A NAME="basicCancel(java.lang.String)"><!-- --></A><H3> |
---|
| 1971 | basicCancel</H3> |
---|
| 1972 | <PRE> |
---|
| 1973 | void <B>basicCancel</B>(java.lang.String consumerTag) |
---|
| 1974 | throws java.io.IOException</PRE> |
---|
| 1975 | <DL> |
---|
| 1976 | <DD>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> |
---|
| 1977 | method. |
---|
| 1978 | <P> |
---|
| 1979 | <DD><DL> |
---|
| 1980 | </DL> |
---|
| 1981 | </DD> |
---|
| 1982 | <DD><DL> |
---|
| 1983 | <DT><B>Parameters:</B><DD><CODE>consumerTag</CODE> - a client- or server-generated consumer tag to establish context |
---|
| 1984 | <DT><B>Throws:</B> |
---|
| 1985 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered, or if the consumerTag is unknown<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Basic.Cancel.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.Cancel</CODE></A>, |
---|
| 1986 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.CancelOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Basic.CancelOk</CODE></A></DL> |
---|
| 1987 | </DD> |
---|
| 1988 | </DL> |
---|
| 1989 | <HR> |
---|
| 1990 | |
---|
| 1991 | <A NAME="basicRecover()"><!-- --></A><H3> |
---|
| 1992 | basicRecover</H3> |
---|
| 1993 | <PRE> |
---|
| 1994 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.RecoverOk.html" title="interface in com.rabbitmq.client">AMQP.Basic.RecoverOk</A> <B>basicRecover</B>() |
---|
| 1995 | throws java.io.IOException</PRE> |
---|
| 1996 | <DL> |
---|
| 1997 | <DD>Ask the broker to resend unacknowledged messages. In 0-8 |
---|
| 1998 | basic.recover is asynchronous; in 0-9-1 it is synchronous, and |
---|
| 1999 | the new, deprecated method basic.recover_async is asynchronous. |
---|
| 2000 | <p/> |
---|
| 2001 | Equivalent to calling <code>basicRecover(true)</code>, messages |
---|
| 2002 | will be requeued and possibly delivered to a different consumer. |
---|
| 2003 | <P> |
---|
| 2004 | <DD><DL> |
---|
| 2005 | </DL> |
---|
| 2006 | </DD> |
---|
| 2007 | <DD><DL> |
---|
| 2008 | |
---|
| 2009 | <DT><B>Throws:</B> |
---|
| 2010 | <DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/Channel.html#basicRecover(boolean)"><CODE>basicRecover(boolean)</CODE></A></DL> |
---|
| 2011 | </DD> |
---|
| 2012 | </DL> |
---|
| 2013 | <HR> |
---|
| 2014 | |
---|
| 2015 | <A NAME="basicRecover(boolean)"><!-- --></A><H3> |
---|
| 2016 | basicRecover</H3> |
---|
| 2017 | <PRE> |
---|
| 2018 | <A HREF="../../../com/rabbitmq/client/AMQP.Basic.RecoverOk.html" title="interface in com.rabbitmq.client">AMQP.Basic.RecoverOk</A> <B>basicRecover</B>(boolean requeue) |
---|
| 2019 | throws java.io.IOException</PRE> |
---|
| 2020 | <DL> |
---|
| 2021 | <DD>Ask the broker to resend unacknowledged messages. In 0-8 |
---|
| 2022 | basic.recover is asynchronous; in 0-9-1 it is synchronous, and |
---|
| 2023 | the new, deprecated method basic.recover_async is asynchronous. |
---|
| 2024 | <P> |
---|
| 2025 | <DD><DL> |
---|
| 2026 | </DL> |
---|
| 2027 | </DD> |
---|
| 2028 | <DD><DL> |
---|
| 2029 | <DT><B>Parameters:</B><DD><CODE>requeue</CODE> - If true, messages will be requeued and possibly |
---|
| 2030 | delivered to a different consumer. If false, messages will be |
---|
| 2031 | redelivered to the same consumer. |
---|
| 2032 | <DT><B>Throws:</B> |
---|
| 2033 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
| 2034 | </DD> |
---|
| 2035 | </DL> |
---|
| 2036 | <HR> |
---|
| 2037 | |
---|
| 2038 | <A NAME="basicRecoverAsync(boolean)"><!-- --></A><H3> |
---|
| 2039 | basicRecoverAsync</H3> |
---|
| 2040 | <PRE> |
---|
| 2041 | <FONT SIZE="-1">@Deprecated |
---|
| 2042 | </FONT>void <B>basicRecoverAsync</B>(boolean requeue) |
---|
| 2043 | throws java.io.IOException</PRE> |
---|
| 2044 | <DL> |
---|
| 2045 | <DD><B>Deprecated.</B> |
---|
| 2046 | <P> |
---|
| 2047 | <DD>Ask the broker to resend unacknowledged messages. In 0-8 |
---|
| 2048 | basic.recover is asynchronous; in 0-9-1 it is synchronous, and |
---|
| 2049 | the new, deprecated method basic.recover_async is asynchronous |
---|
| 2050 | and deprecated. |
---|
| 2051 | <P> |
---|
| 2052 | <DD><DL> |
---|
| 2053 | </DL> |
---|
| 2054 | </DD> |
---|
| 2055 | <DD><DL> |
---|
| 2056 | <DT><B>Parameters:</B><DD><CODE>requeue</CODE> - If true, messages will be requeued and possibly |
---|
| 2057 | delivered to a different consumer. If false, messages will be |
---|
| 2058 | redelivered to the same consumer. |
---|
| 2059 | <DT><B>Throws:</B> |
---|
| 2060 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
| 2061 | </DD> |
---|
| 2062 | </DL> |
---|
| 2063 | <HR> |
---|
| 2064 | |
---|
| 2065 | <A NAME="txSelect()"><!-- --></A><H3> |
---|
| 2066 | txSelect</H3> |
---|
| 2067 | <PRE> |
---|
| 2068 | <A HREF="../../../com/rabbitmq/client/AMQP.Tx.SelectOk.html" title="interface in com.rabbitmq.client">AMQP.Tx.SelectOk</A> <B>txSelect</B>() |
---|
| 2069 | throws java.io.IOException</PRE> |
---|
| 2070 | <DL> |
---|
| 2071 | <DD>Enables TX mode on this channel. |
---|
| 2072 | <P> |
---|
| 2073 | <DD><DL> |
---|
| 2074 | </DL> |
---|
| 2075 | </DD> |
---|
| 2076 | <DD><DL> |
---|
| 2077 | |
---|
| 2078 | <DT><B>Returns:</B><DD>a transaction-selection method to indicate the transaction was successfully initiated |
---|
| 2079 | <DT><B>Throws:</B> |
---|
| 2080 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Tx.Select.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Tx.Select</CODE></A>, |
---|
| 2081 | <A HREF="../../../com/rabbitmq/client/AMQP.Tx.SelectOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Tx.SelectOk</CODE></A></DL> |
---|
| 2082 | </DD> |
---|
| 2083 | </DL> |
---|
| 2084 | <HR> |
---|
| 2085 | |
---|
| 2086 | <A NAME="txCommit()"><!-- --></A><H3> |
---|
| 2087 | txCommit</H3> |
---|
| 2088 | <PRE> |
---|
| 2089 | <A HREF="../../../com/rabbitmq/client/AMQP.Tx.CommitOk.html" title="interface in com.rabbitmq.client">AMQP.Tx.CommitOk</A> <B>txCommit</B>() |
---|
| 2090 | throws java.io.IOException</PRE> |
---|
| 2091 | <DL> |
---|
| 2092 | <DD>Commits a TX transaction on this channel. |
---|
| 2093 | <P> |
---|
| 2094 | <DD><DL> |
---|
| 2095 | </DL> |
---|
| 2096 | </DD> |
---|
| 2097 | <DD><DL> |
---|
| 2098 | |
---|
| 2099 | <DT><B>Returns:</B><DD>a transaction-commit method to indicate the transaction was successfully committed |
---|
| 2100 | <DT><B>Throws:</B> |
---|
| 2101 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Tx.Commit.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Tx.Commit</CODE></A>, |
---|
| 2102 | <A HREF="../../../com/rabbitmq/client/AMQP.Tx.CommitOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Tx.CommitOk</CODE></A></DL> |
---|
| 2103 | </DD> |
---|
| 2104 | </DL> |
---|
| 2105 | <HR> |
---|
| 2106 | |
---|
| 2107 | <A NAME="txRollback()"><!-- --></A><H3> |
---|
| 2108 | txRollback</H3> |
---|
| 2109 | <PRE> |
---|
| 2110 | <A HREF="../../../com/rabbitmq/client/AMQP.Tx.RollbackOk.html" title="interface in com.rabbitmq.client">AMQP.Tx.RollbackOk</A> <B>txRollback</B>() |
---|
| 2111 | throws java.io.IOException</PRE> |
---|
| 2112 | <DL> |
---|
| 2113 | <DD>Rolls back a TX transaction on this channel. |
---|
| 2114 | <P> |
---|
| 2115 | <DD><DL> |
---|
| 2116 | </DL> |
---|
| 2117 | </DD> |
---|
| 2118 | <DD><DL> |
---|
| 2119 | |
---|
| 2120 | <DT><B>Returns:</B><DD>a transaction-rollback method to indicate the transaction was successfully rolled back |
---|
| 2121 | <DT><B>Throws:</B> |
---|
| 2122 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Tx.Rollback.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Tx.Rollback</CODE></A>, |
---|
| 2123 | <A HREF="../../../com/rabbitmq/client/AMQP.Tx.RollbackOk.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Tx.RollbackOk</CODE></A></DL> |
---|
| 2124 | </DD> |
---|
| 2125 | </DL> |
---|
| 2126 | <HR> |
---|
| 2127 | |
---|
| 2128 | <A NAME="confirmSelect()"><!-- --></A><H3> |
---|
| 2129 | confirmSelect</H3> |
---|
| 2130 | <PRE> |
---|
| 2131 | <A HREF="../../../com/rabbitmq/client/AMQP.Confirm.SelectOk.html" title="interface in com.rabbitmq.client">AMQP.Confirm.SelectOk</A> <B>confirmSelect</B>() |
---|
| 2132 | throws java.io.IOException</PRE> |
---|
| 2133 | <DL> |
---|
| 2134 | <DD>Enables publisher acknowledgements on this channel. |
---|
| 2135 | <P> |
---|
| 2136 | <DD><DL> |
---|
| 2137 | </DL> |
---|
| 2138 | </DD> |
---|
| 2139 | <DD><DL> |
---|
| 2140 | |
---|
| 2141 | <DT><B>Throws:</B> |
---|
| 2142 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/AMQP.Confirm.Select.html" title="interface in com.rabbitmq.client"><CODE>AMQP.Confirm.Select</CODE></A></DL> |
---|
| 2143 | </DD> |
---|
| 2144 | </DL> |
---|
| 2145 | <HR> |
---|
| 2146 | |
---|
| 2147 | <A NAME="getNextPublishSeqNo()"><!-- --></A><H3> |
---|
| 2148 | getNextPublishSeqNo</H3> |
---|
| 2149 | <PRE> |
---|
| 2150 | long <B>getNextPublishSeqNo</B>()</PRE> |
---|
| 2151 | <DL> |
---|
| 2152 | <DD>When in confirm mode, returns the sequence number of the next |
---|
| 2153 | message to be published. |
---|
| 2154 | <P> |
---|
| 2155 | <DD><DL> |
---|
| 2156 | </DL> |
---|
| 2157 | </DD> |
---|
| 2158 | <DD><DL> |
---|
| 2159 | |
---|
| 2160 | <DT><B>Returns:</B><DD>the sequence number of the next message to be published</DL> |
---|
| 2161 | </DD> |
---|
| 2162 | </DL> |
---|
| 2163 | <HR> |
---|
| 2164 | |
---|
| 2165 | <A NAME="waitForConfirms()"><!-- --></A><H3> |
---|
| 2166 | waitForConfirms</H3> |
---|
| 2167 | <PRE> |
---|
| 2168 | boolean <B>waitForConfirms</B>() |
---|
| 2169 | throws java.lang.InterruptedException</PRE> |
---|
| 2170 | <DL> |
---|
| 2171 | <DD>Wait until all messages published since the last call have been |
---|
| 2172 | either ack'd or nack'd by the broker. Note, when called on a |
---|
| 2173 | non-Confirm channel, waitForConfirms returns true immediately. |
---|
| 2174 | <P> |
---|
| 2175 | <DD><DL> |
---|
| 2176 | </DL> |
---|
| 2177 | </DD> |
---|
| 2178 | <DD><DL> |
---|
| 2179 | |
---|
| 2180 | <DT><B>Returns:</B><DD>whether all the messages were ack'd (and none were nack'd) |
---|
| 2181 | <DT><B>Throws:</B> |
---|
| 2182 | <DD><CODE>java.lang.InterruptedException</CODE></DL> |
---|
| 2183 | </DD> |
---|
| 2184 | </DL> |
---|
| 2185 | <HR> |
---|
| 2186 | |
---|
| 2187 | <A NAME="waitForConfirms(long)"><!-- --></A><H3> |
---|
| 2188 | waitForConfirms</H3> |
---|
| 2189 | <PRE> |
---|
| 2190 | boolean <B>waitForConfirms</B>(long timeout) |
---|
| 2191 | throws java.lang.InterruptedException, |
---|
| 2192 | java.util.concurrent.TimeoutException</PRE> |
---|
| 2193 | <DL> |
---|
| 2194 | <DD>Wait until all messages published since the last call have been |
---|
| 2195 | either ack'd or nack'd by the broker; or until timeout elapses. |
---|
| 2196 | If the timeout expires a TimeoutException is thrown. When |
---|
| 2197 | called on a non-Confirm channel, waitForConfirms returns true |
---|
| 2198 | immediately. |
---|
| 2199 | <P> |
---|
| 2200 | <DD><DL> |
---|
| 2201 | </DL> |
---|
| 2202 | </DD> |
---|
| 2203 | <DD><DL> |
---|
| 2204 | |
---|
| 2205 | <DT><B>Returns:</B><DD>whether all the messages were ack'd (and none were nack'd) |
---|
| 2206 | <DT><B>Throws:</B> |
---|
| 2207 | <DD><CODE>java.lang.InterruptedException</CODE> |
---|
| 2208 | <DD><CODE>java.util.concurrent.TimeoutException</CODE></DL> |
---|
| 2209 | </DD> |
---|
| 2210 | </DL> |
---|
| 2211 | <HR> |
---|
| 2212 | |
---|
| 2213 | <A NAME="waitForConfirmsOrDie()"><!-- --></A><H3> |
---|
| 2214 | waitForConfirmsOrDie</H3> |
---|
| 2215 | <PRE> |
---|
| 2216 | void <B>waitForConfirmsOrDie</B>() |
---|
| 2217 | throws java.io.IOException, |
---|
| 2218 | java.lang.InterruptedException</PRE> |
---|
| 2219 | <DL> |
---|
| 2220 | <DD>Wait until all messages published since the last call have |
---|
| 2221 | been either ack'd or nack'd by the broker. If any of the |
---|
| 2222 | messages were nack'd, waitForConfirmsOrDie will throw an |
---|
| 2223 | IOException. When called on a non-Confirm channel, it will |
---|
| 2224 | return immediately. |
---|
| 2225 | <P> |
---|
| 2226 | <DD><DL> |
---|
| 2227 | </DL> |
---|
| 2228 | </DD> |
---|
| 2229 | <DD><DL> |
---|
| 2230 | |
---|
| 2231 | <DT><B>Throws:</B> |
---|
| 2232 | <DD><CODE>java.io.IOException</CODE> |
---|
| 2233 | <DD><CODE>java.lang.InterruptedException</CODE></DL> |
---|
| 2234 | </DD> |
---|
| 2235 | </DL> |
---|
| 2236 | <HR> |
---|
| 2237 | |
---|
| 2238 | <A NAME="waitForConfirmsOrDie(long)"><!-- --></A><H3> |
---|
| 2239 | waitForConfirmsOrDie</H3> |
---|
| 2240 | <PRE> |
---|
| 2241 | void <B>waitForConfirmsOrDie</B>(long timeout) |
---|
| 2242 | throws java.io.IOException, |
---|
| 2243 | java.lang.InterruptedException, |
---|
| 2244 | java.util.concurrent.TimeoutException</PRE> |
---|
| 2245 | <DL> |
---|
| 2246 | <DD>Wait until all messages published since the last call have |
---|
| 2247 | been either ack'd or nack'd by the broker; or until timeout elapses. |
---|
| 2248 | If the timeout expires a TimeoutException is thrown. If any of the |
---|
| 2249 | messages were nack'd, waitForConfirmsOrDie will throw an |
---|
| 2250 | IOException. When called on a non-Confirm channel, it will |
---|
| 2251 | return immediately. |
---|
| 2252 | <P> |
---|
| 2253 | <DD><DL> |
---|
| 2254 | </DL> |
---|
| 2255 | </DD> |
---|
| 2256 | <DD><DL> |
---|
| 2257 | |
---|
| 2258 | <DT><B>Throws:</B> |
---|
| 2259 | <DD><CODE>java.io.IOException</CODE> |
---|
| 2260 | <DD><CODE>java.lang.InterruptedException</CODE> |
---|
| 2261 | <DD><CODE>java.util.concurrent.TimeoutException</CODE></DL> |
---|
| 2262 | </DD> |
---|
| 2263 | </DL> |
---|
| 2264 | <HR> |
---|
| 2265 | |
---|
| 2266 | <A NAME="asyncRpc(com.rabbitmq.client.Method)"><!-- --></A><H3> |
---|
| 2267 | asyncRpc</H3> |
---|
| 2268 | <PRE> |
---|
| 2269 | void <B>asyncRpc</B>(<A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> method) |
---|
| 2270 | throws java.io.IOException</PRE> |
---|
| 2271 | <DL> |
---|
| 2272 | <DD>Asynchronously send a method over this channel. |
---|
| 2273 | <P> |
---|
| 2274 | <DD><DL> |
---|
| 2275 | </DL> |
---|
| 2276 | </DD> |
---|
| 2277 | <DD><DL> |
---|
| 2278 | <DT><B>Parameters:</B><DD><CODE>method</CODE> - method to transmit over this channel. |
---|
| 2279 | <DT><B>Throws:</B> |
---|
| 2280 | <DD><CODE>java.io.IOException</CODE> - Problem transmitting method.</DL> |
---|
| 2281 | </DD> |
---|
| 2282 | </DL> |
---|
| 2283 | <HR> |
---|
| 2284 | |
---|
| 2285 | <A NAME="rpc(com.rabbitmq.client.Method)"><!-- --></A><H3> |
---|
| 2286 | rpc</H3> |
---|
| 2287 | <PRE> |
---|
| 2288 | <A HREF="../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client">Command</A> <B>rpc</B>(<A HREF="../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> method) |
---|
| 2289 | throws java.io.IOException</PRE> |
---|
| 2290 | <DL> |
---|
| 2291 | <DD>Synchronously send a method over this channel. |
---|
| 2292 | <P> |
---|
| 2293 | <DD><DL> |
---|
| 2294 | </DL> |
---|
| 2295 | </DD> |
---|
| 2296 | <DD><DL> |
---|
| 2297 | <DT><B>Parameters:</B><DD><CODE>method</CODE> - method to transmit over this channel. |
---|
| 2298 | <DT><B>Returns:</B><DD>command response to method. Caller should cast as appropriate. |
---|
| 2299 | <DT><B>Throws:</B> |
---|
| 2300 | <DD><CODE>java.io.IOException</CODE> - Problem transmitting method.</DL> |
---|
| 2301 | </DD> |
---|
| 2302 | </DL> |
---|
| 2303 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 2304 | <HR> |
---|
| 2305 | |
---|
| 2306 | |
---|
| 2307 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 2308 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 2309 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 2310 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 2311 | <TR> |
---|
| 2312 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 2313 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 2314 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 2315 | <TR ALIGN="center" VALIGN="top"> |
---|
| 2316 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 2317 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 2318 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 2319 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 2320 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 2321 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 2322 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 2323 | </TR> |
---|
| 2324 | </TABLE> |
---|
| 2325 | </TD> |
---|
| 2326 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 2327 | </EM> |
---|
| 2328 | </TD> |
---|
| 2329 | </TR> |
---|
| 2330 | |
---|
| 2331 | <TR> |
---|
| 2332 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 2333 | <A HREF="../../../com/rabbitmq/client/BasicProperties.html" title="interface in com.rabbitmq.client"><B>PREV CLASS</B></A> |
---|
| 2334 | <A HREF="../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 2335 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 2336 | <A HREF="../../../index.html?com/rabbitmq/client/Channel.html" target="_top"><B>FRAMES</B></A> |
---|
| 2337 | <A HREF="Channel.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 2338 | <SCRIPT type="text/javascript"> |
---|
| 2339 | <!-- |
---|
| 2340 | if(window==top) { |
---|
| 2341 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 2342 | } |
---|
| 2343 | //--> |
---|
| 2344 | </SCRIPT> |
---|
| 2345 | <NOSCRIPT> |
---|
| 2346 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 2347 | </NOSCRIPT> |
---|
| 2348 | |
---|
| 2349 | |
---|
| 2350 | </FONT></TD> |
---|
| 2351 | </TR> |
---|
| 2352 | <TR> |
---|
| 2353 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 2354 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 2355 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 2356 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 2357 | </TR> |
---|
| 2358 | </TABLE> |
---|
| 2359 | <A NAME="skip-navbar_bottom"></A> |
---|
| 2360 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 2361 | |
---|
| 2362 | <HR> |
---|
| 2363 | |
---|
| 2364 | </BODY> |
---|
| 2365 | </HTML> |
---|