[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 | ConnectionFactory |
---|
| 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="ConnectionFactory"; |
---|
| 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/Connection.html" title="interface in com.rabbitmq.client"><B>PREV CLASS</B></A> |
---|
| 58 | <A HREF="../../../com/rabbitmq/client/Consumer.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/ConnectionFactory.html" target="_top"><B>FRAMES</B></A> |
---|
| 61 | <A HREF="ConnectionFactory.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 79 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 80 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 | Class ConnectionFactory</H2> |
---|
| 93 | <PRE> |
---|
| 94 | java.lang.Object |
---|
| 95 | <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.rabbitmq.client.ConnectionFactory</B> |
---|
| 96 | </PRE> |
---|
| 97 | <DL> |
---|
| 98 | <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD> |
---|
| 99 | </DL> |
---|
| 100 | <HR> |
---|
| 101 | <DL> |
---|
| 102 | <DT><PRE>public class <B>ConnectionFactory</B><DT>extends java.lang.Object<DT>implements java.lang.Cloneable</DL> |
---|
| 103 | </PRE> |
---|
| 104 | |
---|
| 105 | <P> |
---|
| 106 | Convenience "factory" class to facilitate opening a <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client"><CODE>Connection</CODE></A> to an AMQP broker. |
---|
| 107 | <P> |
---|
| 108 | |
---|
| 109 | <P> |
---|
| 110 | <HR> |
---|
| 111 | |
---|
| 112 | <P> |
---|
| 113 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 114 | |
---|
| 115 | <A NAME="field_summary"><!-- --></A> |
---|
| 116 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 117 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 118 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 119 | <B>Field Summary</B></FONT></TH> |
---|
| 120 | </TR> |
---|
| 121 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 122 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 123 | <CODE>static int</CODE></FONT></TD> |
---|
| 124 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_AMQP_OVER_SSL_PORT">DEFAULT_AMQP_OVER_SSL_PORT</A></B></CODE> |
---|
| 125 | |
---|
| 126 | <BR> |
---|
| 127 | The default ssl port</TD> |
---|
| 128 | </TR> |
---|
| 129 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 130 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 131 | <CODE>static int</CODE></FONT></TD> |
---|
| 132 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_AMQP_PORT">DEFAULT_AMQP_PORT</A></B></CODE> |
---|
| 133 | |
---|
| 134 | <BR> |
---|
| 135 | The default non-ssl port</TD> |
---|
| 136 | </TR> |
---|
| 137 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 138 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 139 | <CODE>static int</CODE></FONT></TD> |
---|
| 140 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_CHANNEL_MAX">DEFAULT_CHANNEL_MAX</A></B></CODE> |
---|
| 141 | |
---|
| 142 | <BR> |
---|
| 143 | Default maximum channel number; |
---|
| 144 | zero for unlimited</TD> |
---|
| 145 | </TR> |
---|
| 146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 147 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 148 | <CODE>static int</CODE></FONT></TD> |
---|
| 149 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_CONNECTION_TIMEOUT">DEFAULT_CONNECTION_TIMEOUT</A></B></CODE> |
---|
| 150 | |
---|
| 151 | <BR> |
---|
| 152 | The default connection timeout; |
---|
| 153 | zero means wait indefinitely</TD> |
---|
| 154 | </TR> |
---|
| 155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 157 | <CODE>static int</CODE></FONT></TD> |
---|
| 158 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_FRAME_MAX">DEFAULT_FRAME_MAX</A></B></CODE> |
---|
| 159 | |
---|
| 160 | <BR> |
---|
| 161 | Default maximum frame size; |
---|
| 162 | zero means no limit</TD> |
---|
| 163 | </TR> |
---|
| 164 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 166 | <CODE>static int</CODE></FONT></TD> |
---|
| 167 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_HEARTBEAT">DEFAULT_HEARTBEAT</A></B></CODE> |
---|
| 168 | |
---|
| 169 | <BR> |
---|
| 170 | Default heart-beat interval; |
---|
| 171 | zero means no heart-beats</TD> |
---|
| 172 | </TR> |
---|
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 175 | <CODE>static java.lang.String</CODE></FONT></TD> |
---|
| 176 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_HOST">DEFAULT_HOST</A></B></CODE> |
---|
| 177 | |
---|
| 178 | <BR> |
---|
| 179 | The default host</TD> |
---|
| 180 | </TR> |
---|
| 181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 183 | <CODE>static int</CODE></FONT></TD> |
---|
| 184 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_NUM_CONSUMER_THREADS">DEFAULT_NUM_CONSUMER_THREADS</A></B></CODE> |
---|
| 185 | |
---|
| 186 | <BR> |
---|
| 187 | <B>Deprecated.</B> </TD> |
---|
| 188 | </TR> |
---|
| 189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 191 | <CODE>static java.lang.String</CODE></FONT></TD> |
---|
| 192 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_PASS">DEFAULT_PASS</A></B></CODE> |
---|
| 193 | |
---|
| 194 | <BR> |
---|
| 195 | Default password</TD> |
---|
| 196 | </TR> |
---|
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 199 | <CODE>static java.lang.String</CODE></FONT></TD> |
---|
| 200 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_USER">DEFAULT_USER</A></B></CODE> |
---|
| 201 | |
---|
| 202 | <BR> |
---|
| 203 | Default user name</TD> |
---|
| 204 | </TR> |
---|
| 205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 207 | <CODE>static java.lang.String</CODE></FONT></TD> |
---|
| 208 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#DEFAULT_VHOST">DEFAULT_VHOST</A></B></CODE> |
---|
| 209 | |
---|
| 210 | <BR> |
---|
| 211 | Default virtual host</TD> |
---|
| 212 | </TR> |
---|
| 213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 215 | <CODE>static int</CODE></FONT></TD> |
---|
| 216 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#USE_DEFAULT_PORT">USE_DEFAULT_PORT</A></B></CODE> |
---|
| 217 | |
---|
| 218 | <BR> |
---|
| 219 | 'Use the default port' port</TD> |
---|
| 220 | </TR> |
---|
| 221 | </TABLE> |
---|
| 222 | |
---|
| 223 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 224 | |
---|
| 225 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 226 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 227 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 228 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 229 | <B>Constructor Summary</B></FONT></TH> |
---|
| 230 | </TR> |
---|
| 231 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 232 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#ConnectionFactory()">ConnectionFactory</A></B>()</CODE> |
---|
| 233 | |
---|
| 234 | <BR> |
---|
| 235 | </TD> |
---|
| 236 | </TR> |
---|
| 237 | </TABLE> |
---|
| 238 | |
---|
| 239 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 240 | |
---|
| 241 | <A NAME="method_summary"><!-- --></A> |
---|
| 242 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 243 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 244 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 245 | <B>Method Summary</B></FONT></TH> |
---|
| 246 | </TR> |
---|
| 247 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 248 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 249 | <CODE> <A HREF="../../../com/rabbitmq/client/ConnectionFactory.html" title="class in com.rabbitmq.client">ConnectionFactory</A></CODE></FONT></TD> |
---|
| 250 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#clone()">clone</A></B>()</CODE> |
---|
| 251 | |
---|
| 252 | <BR> |
---|
| 253 | </TD> |
---|
| 254 | </TR> |
---|
| 255 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 256 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 257 | <CODE>protected void</CODE></FONT></TD> |
---|
| 258 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#configureSocket(java.net.Socket)">configureSocket</A></B>(java.net.Socket socket)</CODE> |
---|
| 259 | |
---|
| 260 | <BR> |
---|
| 261 | Provides a hook to insert custom configuration of the sockets |
---|
| 262 | used to connect to an AMQP server before they connect.</TD> |
---|
| 263 | </TR> |
---|
| 264 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 265 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 266 | <CODE>protected <A HREF="../../../com/rabbitmq/client/impl/FrameHandler.html" title="interface in com.rabbitmq.client.impl">FrameHandler</A></CODE></FONT></TD> |
---|
| 267 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#createFrameHandler(com.rabbitmq.client.Address)">createFrameHandler</A></B>(<A HREF="../../../com/rabbitmq/client/Address.html" title="class in com.rabbitmq.client">Address</A> addr)</CODE> |
---|
| 268 | |
---|
| 269 | <BR> |
---|
| 270 | </TD> |
---|
| 271 | </TR> |
---|
| 272 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 274 | <CODE>protected <A HREF="../../../com/rabbitmq/client/impl/FrameHandler.html" title="interface in com.rabbitmq.client.impl">FrameHandler</A></CODE></FONT></TD> |
---|
| 275 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#createFrameHandler(java.net.Socket)">createFrameHandler</A></B>(java.net.Socket sock)</CODE> |
---|
| 276 | |
---|
| 277 | <BR> |
---|
| 278 | </TD> |
---|
| 279 | </TR> |
---|
| 280 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 282 | <CODE> java.util.Map<java.lang.String,java.lang.Object></CODE></FONT></TD> |
---|
| 283 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getClientProperties()">getClientProperties</A></B>()</CODE> |
---|
| 284 | |
---|
| 285 | <BR> |
---|
| 286 | Retrieve the currently-configured table of client properties |
---|
| 287 | that will be sent to the server during connection |
---|
| 288 | startup.</TD> |
---|
| 289 | </TR> |
---|
| 290 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 292 | <CODE> int</CODE></FONT></TD> |
---|
| 293 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getConnectionTimeout()">getConnectionTimeout</A></B>()</CODE> |
---|
| 294 | |
---|
| 295 | <BR> |
---|
| 296 | Retrieve the connection timeout.</TD> |
---|
| 297 | </TR> |
---|
| 298 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 299 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 300 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 301 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getHost()">getHost</A></B>()</CODE> |
---|
| 302 | |
---|
| 303 | <BR> |
---|
| 304 | </TD> |
---|
| 305 | </TR> |
---|
| 306 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 307 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 308 | <CODE> int</CODE></FONT></TD> |
---|
| 309 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getNumConsumerThreads()">getNumConsumerThreads</A></B>()</CODE> |
---|
| 310 | |
---|
| 311 | <BR> |
---|
| 312 | <B>Deprecated.</B> </TD> |
---|
| 313 | </TR> |
---|
| 314 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 315 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 316 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 317 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getPassword()">getPassword</A></B>()</CODE> |
---|
| 318 | |
---|
| 319 | <BR> |
---|
| 320 | Retrieve the password.</TD> |
---|
| 321 | </TR> |
---|
| 322 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 323 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 324 | <CODE> int</CODE></FONT></TD> |
---|
| 325 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getPort()">getPort</A></B>()</CODE> |
---|
| 326 | |
---|
| 327 | <BR> |
---|
| 328 | </TD> |
---|
| 329 | </TR> |
---|
| 330 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 331 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 332 | <CODE> int</CODE></FONT></TD> |
---|
| 333 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getRequestedChannelMax()">getRequestedChannelMax</A></B>()</CODE> |
---|
| 334 | |
---|
| 335 | <BR> |
---|
| 336 | Retrieve the requested maximum channel number</TD> |
---|
| 337 | </TR> |
---|
| 338 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 339 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 340 | <CODE> int</CODE></FONT></TD> |
---|
| 341 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getRequestedFrameMax()">getRequestedFrameMax</A></B>()</CODE> |
---|
| 342 | |
---|
| 343 | <BR> |
---|
| 344 | Retrieve the requested maximum frame size</TD> |
---|
| 345 | </TR> |
---|
| 346 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 347 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 348 | <CODE> int</CODE></FONT></TD> |
---|
| 349 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getRequestedHeartbeat()">getRequestedHeartbeat</A></B>()</CODE> |
---|
| 350 | |
---|
| 351 | <BR> |
---|
| 352 | Retrieve the requested heartbeat interval.</TD> |
---|
| 353 | </TR> |
---|
| 354 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 355 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 356 | <CODE> <A HREF="../../../com/rabbitmq/client/SaslConfig.html" title="interface in com.rabbitmq.client">SaslConfig</A></CODE></FONT></TD> |
---|
| 357 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getSaslConfig()">getSaslConfig</A></B>()</CODE> |
---|
| 358 | |
---|
| 359 | <BR> |
---|
| 360 | Gets the sasl config to use when authenticating</TD> |
---|
| 361 | </TR> |
---|
| 362 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 363 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 364 | <CODE> javax.net.SocketFactory</CODE></FONT></TD> |
---|
| 365 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getSocketFactory()">getSocketFactory</A></B>()</CODE> |
---|
| 366 | |
---|
| 367 | <BR> |
---|
| 368 | Retrieve the socket factory used to make connections with.</TD> |
---|
| 369 | </TR> |
---|
| 370 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 371 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 372 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 373 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getUsername()">getUsername</A></B>()</CODE> |
---|
| 374 | |
---|
| 375 | <BR> |
---|
| 376 | Retrieve the user name.</TD> |
---|
| 377 | </TR> |
---|
| 378 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 379 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 380 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
| 381 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getVirtualHost()">getVirtualHost</A></B>()</CODE> |
---|
| 382 | |
---|
| 383 | <BR> |
---|
| 384 | Retrieve the virtual host.</TD> |
---|
| 385 | </TR> |
---|
| 386 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 387 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 388 | <CODE> boolean</CODE></FONT></TD> |
---|
| 389 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#isSSL()">isSSL</A></B>()</CODE> |
---|
| 390 | |
---|
| 391 | <BR> |
---|
| 392 | </TD> |
---|
| 393 | </TR> |
---|
| 394 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 395 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 396 | <CODE> <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A></CODE></FONT></TD> |
---|
| 397 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#newConnection()">newConnection</A></B>()</CODE> |
---|
| 398 | |
---|
| 399 | <BR> |
---|
| 400 | Create a new broker connection</TD> |
---|
| 401 | </TR> |
---|
| 402 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 403 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 404 | <CODE> <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A></CODE></FONT></TD> |
---|
| 405 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#newConnection(com.rabbitmq.client.Address[])">newConnection</A></B>(<A HREF="../../../com/rabbitmq/client/Address.html" title="class in com.rabbitmq.client">Address</A>[] addrs)</CODE> |
---|
| 406 | |
---|
| 407 | <BR> |
---|
| 408 | Create a new broker connection</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/Connection.html" title="interface in com.rabbitmq.client">Connection</A></CODE></FONT></TD> |
---|
| 413 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#newConnection(java.util.concurrent.ExecutorService)">newConnection</A></B>(java.util.concurrent.ExecutorService executor)</CODE> |
---|
| 414 | |
---|
| 415 | <BR> |
---|
| 416 | Create a new broker connection</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/Connection.html" title="interface in com.rabbitmq.client">Connection</A></CODE></FONT></TD> |
---|
| 421 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#newConnection(java.util.concurrent.ExecutorService, com.rabbitmq.client.Address[])">newConnection</A></B>(java.util.concurrent.ExecutorService executor, |
---|
| 422 | <A HREF="../../../com/rabbitmq/client/Address.html" title="class in com.rabbitmq.client">Address</A>[] addrs)</CODE> |
---|
| 423 | |
---|
| 424 | <BR> |
---|
| 425 | Create a new broker connection</TD> |
---|
| 426 | </TR> |
---|
| 427 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 428 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 429 | <CODE> void</CODE></FONT></TD> |
---|
| 430 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setClientProperties(java.util.Map)">setClientProperties</A></B>(java.util.Map<java.lang.String,java.lang.Object> clientProperties)</CODE> |
---|
| 431 | |
---|
| 432 | <BR> |
---|
| 433 | Replace the table of client properties that will be sent to the |
---|
| 434 | server during subsequent connection startups.</TD> |
---|
| 435 | </TR> |
---|
| 436 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 437 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 438 | <CODE> void</CODE></FONT></TD> |
---|
| 439 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setConnectionTimeout(int)">setConnectionTimeout</A></B>(int connectionTimeout)</CODE> |
---|
| 440 | |
---|
| 441 | <BR> |
---|
| 442 | Set the connection timeout.</TD> |
---|
| 443 | </TR> |
---|
| 444 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 445 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 446 | <CODE> void</CODE></FONT></TD> |
---|
| 447 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setHost(java.lang.String)">setHost</A></B>(java.lang.String host)</CODE> |
---|
| 448 | |
---|
| 449 | <BR> |
---|
| 450 | </TD> |
---|
| 451 | </TR> |
---|
| 452 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 453 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 454 | <CODE> void</CODE></FONT></TD> |
---|
| 455 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setNumConsumerThreads(int)">setNumConsumerThreads</A></B>(int numConsumerThreads)</CODE> |
---|
| 456 | |
---|
| 457 | <BR> |
---|
| 458 | <B>Deprecated.</B> </TD> |
---|
| 459 | </TR> |
---|
| 460 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 461 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 462 | <CODE> void</CODE></FONT></TD> |
---|
| 463 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setPassword(java.lang.String)">setPassword</A></B>(java.lang.String password)</CODE> |
---|
| 464 | |
---|
| 465 | <BR> |
---|
| 466 | Set the password.</TD> |
---|
| 467 | </TR> |
---|
| 468 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 469 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 470 | <CODE> void</CODE></FONT></TD> |
---|
| 471 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setPort(int)">setPort</A></B>(int port)</CODE> |
---|
| 472 | |
---|
| 473 | <BR> |
---|
| 474 | Set the target port.</TD> |
---|
| 475 | </TR> |
---|
| 476 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 477 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 478 | <CODE> void</CODE></FONT></TD> |
---|
| 479 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setRequestedChannelMax(int)">setRequestedChannelMax</A></B>(int requestedChannelMax)</CODE> |
---|
| 480 | |
---|
| 481 | <BR> |
---|
| 482 | Set the requested maximum channel number</TD> |
---|
| 483 | </TR> |
---|
| 484 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 485 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 486 | <CODE> void</CODE></FONT></TD> |
---|
| 487 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setRequestedFrameMax(int)">setRequestedFrameMax</A></B>(int requestedFrameMax)</CODE> |
---|
| 488 | |
---|
| 489 | <BR> |
---|
| 490 | Set the requested maximum frame size</TD> |
---|
| 491 | </TR> |
---|
| 492 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 493 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 494 | <CODE> void</CODE></FONT></TD> |
---|
| 495 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setRequestedHeartbeat(int)">setRequestedHeartbeat</A></B>(int requestedHeartbeat)</CODE> |
---|
| 496 | |
---|
| 497 | <BR> |
---|
| 498 | Set the requested heartbeat.</TD> |
---|
| 499 | </TR> |
---|
| 500 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 501 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 502 | <CODE> void</CODE></FONT></TD> |
---|
| 503 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setSaslConfig(com.rabbitmq.client.SaslConfig)">setSaslConfig</A></B>(<A HREF="../../../com/rabbitmq/client/SaslConfig.html" title="interface in com.rabbitmq.client">SaslConfig</A> saslConfig)</CODE> |
---|
| 504 | |
---|
| 505 | <BR> |
---|
| 506 | Sets the sasl config to use when authenticating</TD> |
---|
| 507 | </TR> |
---|
| 508 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 509 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 510 | <CODE> void</CODE></FONT></TD> |
---|
| 511 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setSocketFactory(javax.net.SocketFactory)">setSocketFactory</A></B>(javax.net.SocketFactory factory)</CODE> |
---|
| 512 | |
---|
| 513 | <BR> |
---|
| 514 | Set the socket factory used to make connections with.</TD> |
---|
| 515 | </TR> |
---|
| 516 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 517 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 518 | <CODE> void</CODE></FONT></TD> |
---|
| 519 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setUri(java.lang.String)">setUri</A></B>(java.lang.String uriString)</CODE> |
---|
| 520 | |
---|
| 521 | <BR> |
---|
| 522 | Convenience method for setting the fields in an AMQP URI: host, |
---|
| 523 | port, username, password and virtual host.</TD> |
---|
| 524 | </TR> |
---|
| 525 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 526 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 527 | <CODE> void</CODE></FONT></TD> |
---|
| 528 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setUri(java.net.URI)">setUri</A></B>(java.net.URI uri)</CODE> |
---|
| 529 | |
---|
| 530 | <BR> |
---|
| 531 | Convenience method for setting the fields in an AMQP URI: host, |
---|
| 532 | port, username, password and virtual host.</TD> |
---|
| 533 | </TR> |
---|
| 534 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 535 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 536 | <CODE> void</CODE></FONT></TD> |
---|
| 537 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setUsername(java.lang.String)">setUsername</A></B>(java.lang.String username)</CODE> |
---|
| 538 | |
---|
| 539 | <BR> |
---|
| 540 | Set the user name.</TD> |
---|
| 541 | </TR> |
---|
| 542 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 543 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 544 | <CODE> void</CODE></FONT></TD> |
---|
| 545 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setVirtualHost(java.lang.String)">setVirtualHost</A></B>(java.lang.String virtualHost)</CODE> |
---|
| 546 | |
---|
| 547 | <BR> |
---|
| 548 | Set the virtual host.</TD> |
---|
| 549 | </TR> |
---|
| 550 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 551 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 552 | <CODE> void</CODE></FONT></TD> |
---|
| 553 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#useSslProtocol()">useSslProtocol</A></B>()</CODE> |
---|
| 554 | |
---|
| 555 | <BR> |
---|
| 556 | Convenience method for setting up a SSL socket factory, using |
---|
| 557 | the DEFAULT_SSL_PROTOCOL and a trusting TrustManager.</TD> |
---|
| 558 | </TR> |
---|
| 559 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 560 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 561 | <CODE> void</CODE></FONT></TD> |
---|
| 562 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#useSslProtocol(javax.net.ssl.SSLContext)">useSslProtocol</A></B>(javax.net.ssl.SSLContext context)</CODE> |
---|
| 563 | |
---|
| 564 | <BR> |
---|
| 565 | Convenience method for setting up an SSL socket factory.</TD> |
---|
| 566 | </TR> |
---|
| 567 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 568 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 569 | <CODE> void</CODE></FONT></TD> |
---|
| 570 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#useSslProtocol(java.lang.String)">useSslProtocol</A></B>(java.lang.String protocol)</CODE> |
---|
| 571 | |
---|
| 572 | <BR> |
---|
| 573 | Convenience method for setting up a SSL socket factory, using |
---|
| 574 | the supplied protocol and a very trusting TrustManager.</TD> |
---|
| 575 | </TR> |
---|
| 576 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 577 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 578 | <CODE> void</CODE></FONT></TD> |
---|
| 579 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#useSslProtocol(java.lang.String, javax.net.ssl.TrustManager)">useSslProtocol</A></B>(java.lang.String protocol, |
---|
| 580 | javax.net.ssl.TrustManager trustManager)</CODE> |
---|
| 581 | |
---|
| 582 | <BR> |
---|
| 583 | Convenience method for setting up an SSL socket factory.</TD> |
---|
| 584 | </TR> |
---|
| 585 | </TABLE> |
---|
| 586 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 587 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 588 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 589 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
---|
| 590 | </TR> |
---|
| 591 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 592 | <TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
---|
| 593 | </TR> |
---|
| 594 | </TABLE> |
---|
| 595 | |
---|
| 596 | <P> |
---|
| 597 | |
---|
| 598 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 599 | |
---|
| 600 | <A NAME="field_detail"><!-- --></A> |
---|
| 601 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 602 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 603 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 604 | <B>Field Detail</B></FONT></TH> |
---|
| 605 | </TR> |
---|
| 606 | </TABLE> |
---|
| 607 | |
---|
| 608 | <A NAME="DEFAULT_NUM_CONSUMER_THREADS"><!-- --></A><H3> |
---|
| 609 | DEFAULT_NUM_CONSUMER_THREADS</H3> |
---|
| 610 | <PRE> |
---|
| 611 | <FONT SIZE="-1">@Deprecated |
---|
| 612 | </FONT>public static final int <B>DEFAULT_NUM_CONSUMER_THREADS</B></PRE> |
---|
| 613 | <DL> |
---|
| 614 | <DD><B>Deprecated.</B> <DD>Default Executor threads |
---|
| 615 | <P> |
---|
| 616 | <DL> |
---|
| 617 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_NUM_CONSUMER_THREADS">Constant Field Values</A></DL> |
---|
| 618 | </DL> |
---|
| 619 | <HR> |
---|
| 620 | |
---|
| 621 | <A NAME="DEFAULT_USER"><!-- --></A><H3> |
---|
| 622 | DEFAULT_USER</H3> |
---|
| 623 | <PRE> |
---|
| 624 | public static final java.lang.String <B>DEFAULT_USER</B></PRE> |
---|
| 625 | <DL> |
---|
| 626 | <DD>Default user name |
---|
| 627 | <P> |
---|
| 628 | <DL> |
---|
| 629 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_USER">Constant Field Values</A></DL> |
---|
| 630 | </DL> |
---|
| 631 | <HR> |
---|
| 632 | |
---|
| 633 | <A NAME="DEFAULT_PASS"><!-- --></A><H3> |
---|
| 634 | DEFAULT_PASS</H3> |
---|
| 635 | <PRE> |
---|
| 636 | public static final java.lang.String <B>DEFAULT_PASS</B></PRE> |
---|
| 637 | <DL> |
---|
| 638 | <DD>Default password |
---|
| 639 | <P> |
---|
| 640 | <DL> |
---|
| 641 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_PASS">Constant Field Values</A></DL> |
---|
| 642 | </DL> |
---|
| 643 | <HR> |
---|
| 644 | |
---|
| 645 | <A NAME="DEFAULT_VHOST"><!-- --></A><H3> |
---|
| 646 | DEFAULT_VHOST</H3> |
---|
| 647 | <PRE> |
---|
| 648 | public static final java.lang.String <B>DEFAULT_VHOST</B></PRE> |
---|
| 649 | <DL> |
---|
| 650 | <DD>Default virtual host |
---|
| 651 | <P> |
---|
| 652 | <DL> |
---|
| 653 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_VHOST">Constant Field Values</A></DL> |
---|
| 654 | </DL> |
---|
| 655 | <HR> |
---|
| 656 | |
---|
| 657 | <A NAME="DEFAULT_CHANNEL_MAX"><!-- --></A><H3> |
---|
| 658 | DEFAULT_CHANNEL_MAX</H3> |
---|
| 659 | <PRE> |
---|
| 660 | public static final int <B>DEFAULT_CHANNEL_MAX</B></PRE> |
---|
| 661 | <DL> |
---|
| 662 | <DD>Default maximum channel number; |
---|
| 663 | zero for unlimited |
---|
| 664 | <P> |
---|
| 665 | <DL> |
---|
| 666 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_CHANNEL_MAX">Constant Field Values</A></DL> |
---|
| 667 | </DL> |
---|
| 668 | <HR> |
---|
| 669 | |
---|
| 670 | <A NAME="DEFAULT_FRAME_MAX"><!-- --></A><H3> |
---|
| 671 | DEFAULT_FRAME_MAX</H3> |
---|
| 672 | <PRE> |
---|
| 673 | public static final int <B>DEFAULT_FRAME_MAX</B></PRE> |
---|
| 674 | <DL> |
---|
| 675 | <DD>Default maximum frame size; |
---|
| 676 | zero means no limit |
---|
| 677 | <P> |
---|
| 678 | <DL> |
---|
| 679 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_FRAME_MAX">Constant Field Values</A></DL> |
---|
| 680 | </DL> |
---|
| 681 | <HR> |
---|
| 682 | |
---|
| 683 | <A NAME="DEFAULT_HEARTBEAT"><!-- --></A><H3> |
---|
| 684 | DEFAULT_HEARTBEAT</H3> |
---|
| 685 | <PRE> |
---|
| 686 | public static final int <B>DEFAULT_HEARTBEAT</B></PRE> |
---|
| 687 | <DL> |
---|
| 688 | <DD>Default heart-beat interval; |
---|
| 689 | zero means no heart-beats |
---|
| 690 | <P> |
---|
| 691 | <DL> |
---|
| 692 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_HEARTBEAT">Constant Field Values</A></DL> |
---|
| 693 | </DL> |
---|
| 694 | <HR> |
---|
| 695 | |
---|
| 696 | <A NAME="DEFAULT_HOST"><!-- --></A><H3> |
---|
| 697 | DEFAULT_HOST</H3> |
---|
| 698 | <PRE> |
---|
| 699 | public static final java.lang.String <B>DEFAULT_HOST</B></PRE> |
---|
| 700 | <DL> |
---|
| 701 | <DD>The default host |
---|
| 702 | <P> |
---|
| 703 | <DL> |
---|
| 704 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_HOST">Constant Field Values</A></DL> |
---|
| 705 | </DL> |
---|
| 706 | <HR> |
---|
| 707 | |
---|
| 708 | <A NAME="USE_DEFAULT_PORT"><!-- --></A><H3> |
---|
| 709 | USE_DEFAULT_PORT</H3> |
---|
| 710 | <PRE> |
---|
| 711 | public static final int <B>USE_DEFAULT_PORT</B></PRE> |
---|
| 712 | <DL> |
---|
| 713 | <DD>'Use the default port' port |
---|
| 714 | <P> |
---|
| 715 | <DL> |
---|
| 716 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.USE_DEFAULT_PORT">Constant Field Values</A></DL> |
---|
| 717 | </DL> |
---|
| 718 | <HR> |
---|
| 719 | |
---|
| 720 | <A NAME="DEFAULT_AMQP_PORT"><!-- --></A><H3> |
---|
| 721 | DEFAULT_AMQP_PORT</H3> |
---|
| 722 | <PRE> |
---|
| 723 | public static final int <B>DEFAULT_AMQP_PORT</B></PRE> |
---|
| 724 | <DL> |
---|
| 725 | <DD>The default non-ssl port |
---|
| 726 | <P> |
---|
| 727 | <DL> |
---|
| 728 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_AMQP_PORT">Constant Field Values</A></DL> |
---|
| 729 | </DL> |
---|
| 730 | <HR> |
---|
| 731 | |
---|
| 732 | <A NAME="DEFAULT_AMQP_OVER_SSL_PORT"><!-- --></A><H3> |
---|
| 733 | DEFAULT_AMQP_OVER_SSL_PORT</H3> |
---|
| 734 | <PRE> |
---|
| 735 | public static final int <B>DEFAULT_AMQP_OVER_SSL_PORT</B></PRE> |
---|
| 736 | <DL> |
---|
| 737 | <DD>The default ssl port |
---|
| 738 | <P> |
---|
| 739 | <DL> |
---|
| 740 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_AMQP_OVER_SSL_PORT">Constant Field Values</A></DL> |
---|
| 741 | </DL> |
---|
| 742 | <HR> |
---|
| 743 | |
---|
| 744 | <A NAME="DEFAULT_CONNECTION_TIMEOUT"><!-- --></A><H3> |
---|
| 745 | DEFAULT_CONNECTION_TIMEOUT</H3> |
---|
| 746 | <PRE> |
---|
| 747 | public static final int <B>DEFAULT_CONNECTION_TIMEOUT</B></PRE> |
---|
| 748 | <DL> |
---|
| 749 | <DD>The default connection timeout; |
---|
| 750 | zero means wait indefinitely |
---|
| 751 | <P> |
---|
| 752 | <DL> |
---|
| 753 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.rabbitmq.client.ConnectionFactory.DEFAULT_CONNECTION_TIMEOUT">Constant Field Values</A></DL> |
---|
| 754 | </DL> |
---|
| 755 | |
---|
| 756 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 757 | |
---|
| 758 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 759 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 760 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 761 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 762 | <B>Constructor Detail</B></FONT></TH> |
---|
| 763 | </TR> |
---|
| 764 | </TABLE> |
---|
| 765 | |
---|
| 766 | <A NAME="ConnectionFactory()"><!-- --></A><H3> |
---|
| 767 | ConnectionFactory</H3> |
---|
| 768 | <PRE> |
---|
| 769 | public <B>ConnectionFactory</B>()</PRE> |
---|
| 770 | <DL> |
---|
| 771 | </DL> |
---|
| 772 | |
---|
| 773 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 774 | |
---|
| 775 | <A NAME="method_detail"><!-- --></A> |
---|
| 776 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 777 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 778 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 779 | <B>Method Detail</B></FONT></TH> |
---|
| 780 | </TR> |
---|
| 781 | </TABLE> |
---|
| 782 | |
---|
| 783 | <A NAME="getNumConsumerThreads()"><!-- --></A><H3> |
---|
| 784 | getNumConsumerThreads</H3> |
---|
| 785 | <PRE> |
---|
| 786 | <FONT SIZE="-1">@Deprecated |
---|
| 787 | </FONT>public int <B>getNumConsumerThreads</B>()</PRE> |
---|
| 788 | <DL> |
---|
| 789 | <DD><B>Deprecated.</B> |
---|
| 790 | <P> |
---|
| 791 | <DD><DL> |
---|
| 792 | </DL> |
---|
| 793 | </DD> |
---|
| 794 | <DD><DL> |
---|
| 795 | |
---|
| 796 | <DT><B>Returns:</B><DD>number of consumer threads in default <CODE>ExecutorService</CODE></DL> |
---|
| 797 | </DD> |
---|
| 798 | </DL> |
---|
| 799 | <HR> |
---|
| 800 | |
---|
| 801 | <A NAME="setNumConsumerThreads(int)"><!-- --></A><H3> |
---|
| 802 | setNumConsumerThreads</H3> |
---|
| 803 | <PRE> |
---|
| 804 | <FONT SIZE="-1">@Deprecated |
---|
| 805 | </FONT>public void <B>setNumConsumerThreads</B>(int numConsumerThreads)</PRE> |
---|
| 806 | <DL> |
---|
| 807 | <DD><B>Deprecated.</B> |
---|
| 808 | <P> |
---|
| 809 | <DD><DL> |
---|
| 810 | </DL> |
---|
| 811 | </DD> |
---|
| 812 | <DD><DL> |
---|
| 813 | <DT><B>Parameters:</B><DD><CODE>numConsumerThreads</CODE> - threads in created private executor service</DL> |
---|
| 814 | </DD> |
---|
| 815 | </DL> |
---|
| 816 | <HR> |
---|
| 817 | |
---|
| 818 | <A NAME="getHost()"><!-- --></A><H3> |
---|
| 819 | getHost</H3> |
---|
| 820 | <PRE> |
---|
| 821 | public java.lang.String <B>getHost</B>()</PRE> |
---|
| 822 | <DL> |
---|
| 823 | <DD><DL> |
---|
| 824 | </DL> |
---|
| 825 | </DD> |
---|
| 826 | <DD><DL> |
---|
| 827 | |
---|
| 828 | <DT><B>Returns:</B><DD>the default host to use for connections</DL> |
---|
| 829 | </DD> |
---|
| 830 | </DL> |
---|
| 831 | <HR> |
---|
| 832 | |
---|
| 833 | <A NAME="setHost(java.lang.String)"><!-- --></A><H3> |
---|
| 834 | setHost</H3> |
---|
| 835 | <PRE> |
---|
| 836 | public void <B>setHost</B>(java.lang.String host)</PRE> |
---|
| 837 | <DL> |
---|
| 838 | <DD><DL> |
---|
| 839 | </DL> |
---|
| 840 | </DD> |
---|
| 841 | <DD><DL> |
---|
| 842 | <DT><B>Parameters:</B><DD><CODE>host</CODE> - the default host to use for connections</DL> |
---|
| 843 | </DD> |
---|
| 844 | </DL> |
---|
| 845 | <HR> |
---|
| 846 | |
---|
| 847 | <A NAME="getPort()"><!-- --></A><H3> |
---|
| 848 | getPort</H3> |
---|
| 849 | <PRE> |
---|
| 850 | public int <B>getPort</B>()</PRE> |
---|
| 851 | <DL> |
---|
| 852 | <DD><DL> |
---|
| 853 | </DL> |
---|
| 854 | </DD> |
---|
| 855 | <DD><DL> |
---|
| 856 | |
---|
| 857 | <DT><B>Returns:</B><DD>the default port to use for connections</DL> |
---|
| 858 | </DD> |
---|
| 859 | </DL> |
---|
| 860 | <HR> |
---|
| 861 | |
---|
| 862 | <A NAME="setPort(int)"><!-- --></A><H3> |
---|
| 863 | setPort</H3> |
---|
| 864 | <PRE> |
---|
| 865 | public void <B>setPort</B>(int port)</PRE> |
---|
| 866 | <DL> |
---|
| 867 | <DD>Set the target port. |
---|
| 868 | <P> |
---|
| 869 | <DD><DL> |
---|
| 870 | </DL> |
---|
| 871 | </DD> |
---|
| 872 | <DD><DL> |
---|
| 873 | <DT><B>Parameters:</B><DD><CODE>port</CODE> - the default port to use for connections</DL> |
---|
| 874 | </DD> |
---|
| 875 | </DL> |
---|
| 876 | <HR> |
---|
| 877 | |
---|
| 878 | <A NAME="getUsername()"><!-- --></A><H3> |
---|
| 879 | getUsername</H3> |
---|
| 880 | <PRE> |
---|
| 881 | public java.lang.String <B>getUsername</B>()</PRE> |
---|
| 882 | <DL> |
---|
| 883 | <DD>Retrieve the user name. |
---|
| 884 | <P> |
---|
| 885 | <DD><DL> |
---|
| 886 | </DL> |
---|
| 887 | </DD> |
---|
| 888 | <DD><DL> |
---|
| 889 | |
---|
| 890 | <DT><B>Returns:</B><DD>the AMQP user name to use when connecting to the broker</DL> |
---|
| 891 | </DD> |
---|
| 892 | </DL> |
---|
| 893 | <HR> |
---|
| 894 | |
---|
| 895 | <A NAME="setUsername(java.lang.String)"><!-- --></A><H3> |
---|
| 896 | setUsername</H3> |
---|
| 897 | <PRE> |
---|
| 898 | public void <B>setUsername</B>(java.lang.String username)</PRE> |
---|
| 899 | <DL> |
---|
| 900 | <DD>Set the user name. |
---|
| 901 | <P> |
---|
| 902 | <DD><DL> |
---|
| 903 | </DL> |
---|
| 904 | </DD> |
---|
| 905 | <DD><DL> |
---|
| 906 | <DT><B>Parameters:</B><DD><CODE>username</CODE> - the AMQP user name to use when connecting to the broker</DL> |
---|
| 907 | </DD> |
---|
| 908 | </DL> |
---|
| 909 | <HR> |
---|
| 910 | |
---|
| 911 | <A NAME="getPassword()"><!-- --></A><H3> |
---|
| 912 | getPassword</H3> |
---|
| 913 | <PRE> |
---|
| 914 | public java.lang.String <B>getPassword</B>()</PRE> |
---|
| 915 | <DL> |
---|
| 916 | <DD>Retrieve the password. |
---|
| 917 | <P> |
---|
| 918 | <DD><DL> |
---|
| 919 | </DL> |
---|
| 920 | </DD> |
---|
| 921 | <DD><DL> |
---|
| 922 | |
---|
| 923 | <DT><B>Returns:</B><DD>the password to use when connecting to the broker</DL> |
---|
| 924 | </DD> |
---|
| 925 | </DL> |
---|
| 926 | <HR> |
---|
| 927 | |
---|
| 928 | <A NAME="setPassword(java.lang.String)"><!-- --></A><H3> |
---|
| 929 | setPassword</H3> |
---|
| 930 | <PRE> |
---|
| 931 | public void <B>setPassword</B>(java.lang.String password)</PRE> |
---|
| 932 | <DL> |
---|
| 933 | <DD>Set the password. |
---|
| 934 | <P> |
---|
| 935 | <DD><DL> |
---|
| 936 | </DL> |
---|
| 937 | </DD> |
---|
| 938 | <DD><DL> |
---|
| 939 | <DT><B>Parameters:</B><DD><CODE>password</CODE> - the password to use when connecting to the broker</DL> |
---|
| 940 | </DD> |
---|
| 941 | </DL> |
---|
| 942 | <HR> |
---|
| 943 | |
---|
| 944 | <A NAME="getVirtualHost()"><!-- --></A><H3> |
---|
| 945 | getVirtualHost</H3> |
---|
| 946 | <PRE> |
---|
| 947 | public java.lang.String <B>getVirtualHost</B>()</PRE> |
---|
| 948 | <DL> |
---|
| 949 | <DD>Retrieve the virtual host. |
---|
| 950 | <P> |
---|
| 951 | <DD><DL> |
---|
| 952 | </DL> |
---|
| 953 | </DD> |
---|
| 954 | <DD><DL> |
---|
| 955 | |
---|
| 956 | <DT><B>Returns:</B><DD>the virtual host to use when connecting to the broker</DL> |
---|
| 957 | </DD> |
---|
| 958 | </DL> |
---|
| 959 | <HR> |
---|
| 960 | |
---|
| 961 | <A NAME="setVirtualHost(java.lang.String)"><!-- --></A><H3> |
---|
| 962 | setVirtualHost</H3> |
---|
| 963 | <PRE> |
---|
| 964 | public void <B>setVirtualHost</B>(java.lang.String virtualHost)</PRE> |
---|
| 965 | <DL> |
---|
| 966 | <DD>Set the virtual host. |
---|
| 967 | <P> |
---|
| 968 | <DD><DL> |
---|
| 969 | </DL> |
---|
| 970 | </DD> |
---|
| 971 | <DD><DL> |
---|
| 972 | <DT><B>Parameters:</B><DD><CODE>virtualHost</CODE> - the virtual host to use when connecting to the broker</DL> |
---|
| 973 | </DD> |
---|
| 974 | </DL> |
---|
| 975 | <HR> |
---|
| 976 | |
---|
| 977 | <A NAME="setUri(java.net.URI)"><!-- --></A><H3> |
---|
| 978 | setUri</H3> |
---|
| 979 | <PRE> |
---|
| 980 | public void <B>setUri</B>(java.net.URI uri) |
---|
| 981 | throws java.net.URISyntaxException, |
---|
| 982 | java.security.NoSuchAlgorithmException, |
---|
| 983 | java.security.KeyManagementException</PRE> |
---|
| 984 | <DL> |
---|
| 985 | <DD>Convenience method for setting the fields in an AMQP URI: host, |
---|
| 986 | port, username, password and virtual host. If any part of the |
---|
| 987 | URI is ommited, the ConnectionFactory's corresponding variable |
---|
| 988 | is left unchanged. |
---|
| 989 | <P> |
---|
| 990 | <DD><DL> |
---|
| 991 | </DL> |
---|
| 992 | </DD> |
---|
| 993 | <DD><DL> |
---|
| 994 | <DT><B>Parameters:</B><DD><CODE>uri</CODE> - is the AMQP URI containing the data |
---|
| 995 | <DT><B>Throws:</B> |
---|
| 996 | <DD><CODE>java.net.URISyntaxException</CODE> |
---|
| 997 | <DD><CODE>java.security.NoSuchAlgorithmException</CODE> |
---|
| 998 | <DD><CODE>java.security.KeyManagementException</CODE></DL> |
---|
| 999 | </DD> |
---|
| 1000 | </DL> |
---|
| 1001 | <HR> |
---|
| 1002 | |
---|
| 1003 | <A NAME="setUri(java.lang.String)"><!-- --></A><H3> |
---|
| 1004 | setUri</H3> |
---|
| 1005 | <PRE> |
---|
| 1006 | public void <B>setUri</B>(java.lang.String uriString) |
---|
| 1007 | throws java.net.URISyntaxException, |
---|
| 1008 | java.security.NoSuchAlgorithmException, |
---|
| 1009 | java.security.KeyManagementException</PRE> |
---|
| 1010 | <DL> |
---|
| 1011 | <DD>Convenience method for setting the fields in an AMQP URI: host, |
---|
| 1012 | port, username, password and virtual host. If any part of the |
---|
| 1013 | URI is ommited, the ConnectionFactory's corresponding variable |
---|
| 1014 | is left unchanged. Note that not all valid AMQP URIs are |
---|
| 1015 | accepted; in particular, the hostname must be given if the |
---|
| 1016 | port, username or password are given, and escapes in the |
---|
| 1017 | hostname are not permitted. |
---|
| 1018 | <P> |
---|
| 1019 | <DD><DL> |
---|
| 1020 | </DL> |
---|
| 1021 | </DD> |
---|
| 1022 | <DD><DL> |
---|
| 1023 | <DT><B>Parameters:</B><DD><CODE>uriString</CODE> - is the AMQP URI containing the data |
---|
| 1024 | <DT><B>Throws:</B> |
---|
| 1025 | <DD><CODE>java.net.URISyntaxException</CODE> |
---|
| 1026 | <DD><CODE>java.security.NoSuchAlgorithmException</CODE> |
---|
| 1027 | <DD><CODE>java.security.KeyManagementException</CODE></DL> |
---|
| 1028 | </DD> |
---|
| 1029 | </DL> |
---|
| 1030 | <HR> |
---|
| 1031 | |
---|
| 1032 | <A NAME="getRequestedChannelMax()"><!-- --></A><H3> |
---|
| 1033 | getRequestedChannelMax</H3> |
---|
| 1034 | <PRE> |
---|
| 1035 | public int <B>getRequestedChannelMax</B>()</PRE> |
---|
| 1036 | <DL> |
---|
| 1037 | <DD>Retrieve the requested maximum channel number |
---|
| 1038 | <P> |
---|
| 1039 | <DD><DL> |
---|
| 1040 | </DL> |
---|
| 1041 | </DD> |
---|
| 1042 | <DD><DL> |
---|
| 1043 | |
---|
| 1044 | <DT><B>Returns:</B><DD>the initially requested maximum channel number; zero for unlimited</DL> |
---|
| 1045 | </DD> |
---|
| 1046 | </DL> |
---|
| 1047 | <HR> |
---|
| 1048 | |
---|
| 1049 | <A NAME="setRequestedChannelMax(int)"><!-- --></A><H3> |
---|
| 1050 | setRequestedChannelMax</H3> |
---|
| 1051 | <PRE> |
---|
| 1052 | public void <B>setRequestedChannelMax</B>(int requestedChannelMax)</PRE> |
---|
| 1053 | <DL> |
---|
| 1054 | <DD>Set the requested maximum channel number |
---|
| 1055 | <P> |
---|
| 1056 | <DD><DL> |
---|
| 1057 | </DL> |
---|
| 1058 | </DD> |
---|
| 1059 | <DD><DL> |
---|
| 1060 | <DT><B>Parameters:</B><DD><CODE>requestedChannelMax</CODE> - initially requested maximum channel number; zero for unlimited</DL> |
---|
| 1061 | </DD> |
---|
| 1062 | </DL> |
---|
| 1063 | <HR> |
---|
| 1064 | |
---|
| 1065 | <A NAME="getRequestedFrameMax()"><!-- --></A><H3> |
---|
| 1066 | getRequestedFrameMax</H3> |
---|
| 1067 | <PRE> |
---|
| 1068 | public int <B>getRequestedFrameMax</B>()</PRE> |
---|
| 1069 | <DL> |
---|
| 1070 | <DD>Retrieve the requested maximum frame size |
---|
| 1071 | <P> |
---|
| 1072 | <DD><DL> |
---|
| 1073 | </DL> |
---|
| 1074 | </DD> |
---|
| 1075 | <DD><DL> |
---|
| 1076 | |
---|
| 1077 | <DT><B>Returns:</B><DD>the initially requested maximum frame size, in octets; zero for unlimited</DL> |
---|
| 1078 | </DD> |
---|
| 1079 | </DL> |
---|
| 1080 | <HR> |
---|
| 1081 | |
---|
| 1082 | <A NAME="setRequestedFrameMax(int)"><!-- --></A><H3> |
---|
| 1083 | setRequestedFrameMax</H3> |
---|
| 1084 | <PRE> |
---|
| 1085 | public void <B>setRequestedFrameMax</B>(int requestedFrameMax)</PRE> |
---|
| 1086 | <DL> |
---|
| 1087 | <DD>Set the requested maximum frame size |
---|
| 1088 | <P> |
---|
| 1089 | <DD><DL> |
---|
| 1090 | </DL> |
---|
| 1091 | </DD> |
---|
| 1092 | <DD><DL> |
---|
| 1093 | <DT><B>Parameters:</B><DD><CODE>requestedFrameMax</CODE> - initially requested maximum frame size, in octets; zero for unlimited</DL> |
---|
| 1094 | </DD> |
---|
| 1095 | </DL> |
---|
| 1096 | <HR> |
---|
| 1097 | |
---|
| 1098 | <A NAME="getRequestedHeartbeat()"><!-- --></A><H3> |
---|
| 1099 | getRequestedHeartbeat</H3> |
---|
| 1100 | <PRE> |
---|
| 1101 | public int <B>getRequestedHeartbeat</B>()</PRE> |
---|
| 1102 | <DL> |
---|
| 1103 | <DD>Retrieve the requested heartbeat interval. |
---|
| 1104 | <P> |
---|
| 1105 | <DD><DL> |
---|
| 1106 | </DL> |
---|
| 1107 | </DD> |
---|
| 1108 | <DD><DL> |
---|
| 1109 | |
---|
| 1110 | <DT><B>Returns:</B><DD>the initially requested heartbeat interval, in seconds; zero for none</DL> |
---|
| 1111 | </DD> |
---|
| 1112 | </DL> |
---|
| 1113 | <HR> |
---|
| 1114 | |
---|
| 1115 | <A NAME="setConnectionTimeout(int)"><!-- --></A><H3> |
---|
| 1116 | setConnectionTimeout</H3> |
---|
| 1117 | <PRE> |
---|
| 1118 | public void <B>setConnectionTimeout</B>(int connectionTimeout)</PRE> |
---|
| 1119 | <DL> |
---|
| 1120 | <DD>Set the connection timeout. |
---|
| 1121 | <P> |
---|
| 1122 | <DD><DL> |
---|
| 1123 | </DL> |
---|
| 1124 | </DD> |
---|
| 1125 | <DD><DL> |
---|
| 1126 | <DT><B>Parameters:</B><DD><CODE>connectionTimeout</CODE> - connection establishment timeout in milliseconds; zero for infinite</DL> |
---|
| 1127 | </DD> |
---|
| 1128 | </DL> |
---|
| 1129 | <HR> |
---|
| 1130 | |
---|
| 1131 | <A NAME="getConnectionTimeout()"><!-- --></A><H3> |
---|
| 1132 | getConnectionTimeout</H3> |
---|
| 1133 | <PRE> |
---|
| 1134 | public int <B>getConnectionTimeout</B>()</PRE> |
---|
| 1135 | <DL> |
---|
| 1136 | <DD>Retrieve the connection timeout. |
---|
| 1137 | <P> |
---|
| 1138 | <DD><DL> |
---|
| 1139 | </DL> |
---|
| 1140 | </DD> |
---|
| 1141 | <DD><DL> |
---|
| 1142 | |
---|
| 1143 | <DT><B>Returns:</B><DD>the connection timeout, in milliseconds; zero for infinite</DL> |
---|
| 1144 | </DD> |
---|
| 1145 | </DL> |
---|
| 1146 | <HR> |
---|
| 1147 | |
---|
| 1148 | <A NAME="setRequestedHeartbeat(int)"><!-- --></A><H3> |
---|
| 1149 | setRequestedHeartbeat</H3> |
---|
| 1150 | <PRE> |
---|
| 1151 | public void <B>setRequestedHeartbeat</B>(int requestedHeartbeat)</PRE> |
---|
| 1152 | <DL> |
---|
| 1153 | <DD>Set the requested heartbeat. |
---|
| 1154 | <P> |
---|
| 1155 | <DD><DL> |
---|
| 1156 | </DL> |
---|
| 1157 | </DD> |
---|
| 1158 | <DD><DL> |
---|
| 1159 | <DT><B>Parameters:</B><DD><CODE>requestedHeartbeat</CODE> - the initially requested heartbeat interval, in seconds; zero for none</DL> |
---|
| 1160 | </DD> |
---|
| 1161 | </DL> |
---|
| 1162 | <HR> |
---|
| 1163 | |
---|
| 1164 | <A NAME="getClientProperties()"><!-- --></A><H3> |
---|
| 1165 | getClientProperties</H3> |
---|
| 1166 | <PRE> |
---|
| 1167 | public java.util.Map<java.lang.String,java.lang.Object> <B>getClientProperties</B>()</PRE> |
---|
| 1168 | <DL> |
---|
| 1169 | <DD>Retrieve the currently-configured table of client properties |
---|
| 1170 | that will be sent to the server during connection |
---|
| 1171 | startup. Clients may add, delete, and alter keys in this |
---|
| 1172 | table. Such changes will take effect when the next new |
---|
| 1173 | connection is started using this factory. |
---|
| 1174 | <P> |
---|
| 1175 | <DD><DL> |
---|
| 1176 | </DL> |
---|
| 1177 | </DD> |
---|
| 1178 | <DD><DL> |
---|
| 1179 | |
---|
| 1180 | <DT><B>Returns:</B><DD>the map of client properties<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setClientProperties(java.util.Map)"><CODE>setClientProperties(java.util.Map<java.lang.String, java.lang.Object>)</CODE></A></DL> |
---|
| 1181 | </DD> |
---|
| 1182 | </DL> |
---|
| 1183 | <HR> |
---|
| 1184 | |
---|
| 1185 | <A NAME="setClientProperties(java.util.Map)"><!-- --></A><H3> |
---|
| 1186 | setClientProperties</H3> |
---|
| 1187 | <PRE> |
---|
| 1188 | public void <B>setClientProperties</B>(java.util.Map<java.lang.String,java.lang.Object> clientProperties)</PRE> |
---|
| 1189 | <DL> |
---|
| 1190 | <DD>Replace the table of client properties that will be sent to the |
---|
| 1191 | server during subsequent connection startups. |
---|
| 1192 | <P> |
---|
| 1193 | <DD><DL> |
---|
| 1194 | </DL> |
---|
| 1195 | </DD> |
---|
| 1196 | <DD><DL> |
---|
| 1197 | <DT><B>Parameters:</B><DD><CODE>clientProperties</CODE> - the map of extra client properties<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getClientProperties()"><CODE>getClientProperties()</CODE></A></DL> |
---|
| 1198 | </DD> |
---|
| 1199 | </DL> |
---|
| 1200 | <HR> |
---|
| 1201 | |
---|
| 1202 | <A NAME="getSaslConfig()"><!-- --></A><H3> |
---|
| 1203 | getSaslConfig</H3> |
---|
| 1204 | <PRE> |
---|
| 1205 | public <A HREF="../../../com/rabbitmq/client/SaslConfig.html" title="interface in com.rabbitmq.client">SaslConfig</A> <B>getSaslConfig</B>()</PRE> |
---|
| 1206 | <DL> |
---|
| 1207 | <DD>Gets the sasl config to use when authenticating |
---|
| 1208 | <P> |
---|
| 1209 | <DD><DL> |
---|
| 1210 | </DL> |
---|
| 1211 | </DD> |
---|
| 1212 | <DD><DL> |
---|
| 1213 | |
---|
| 1214 | <DT><B>Returns:</B><DD>the sasl config<DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/SaslConfig.html" title="interface in com.rabbitmq.client"><CODE>SaslConfig</CODE></A></DL> |
---|
| 1215 | </DD> |
---|
| 1216 | </DL> |
---|
| 1217 | <HR> |
---|
| 1218 | |
---|
| 1219 | <A NAME="setSaslConfig(com.rabbitmq.client.SaslConfig)"><!-- --></A><H3> |
---|
| 1220 | setSaslConfig</H3> |
---|
| 1221 | <PRE> |
---|
| 1222 | public void <B>setSaslConfig</B>(<A HREF="../../../com/rabbitmq/client/SaslConfig.html" title="interface in com.rabbitmq.client">SaslConfig</A> saslConfig)</PRE> |
---|
| 1223 | <DL> |
---|
| 1224 | <DD>Sets the sasl config to use when authenticating |
---|
| 1225 | <P> |
---|
| 1226 | <DD><DL> |
---|
| 1227 | </DL> |
---|
| 1228 | </DD> |
---|
| 1229 | <DD><DL> |
---|
| 1230 | <DT><B>Parameters:</B><DD><CODE>saslConfig</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/SaslConfig.html" title="interface in com.rabbitmq.client"><CODE>SaslConfig</CODE></A></DL> |
---|
| 1231 | </DD> |
---|
| 1232 | </DL> |
---|
| 1233 | <HR> |
---|
| 1234 | |
---|
| 1235 | <A NAME="getSocketFactory()"><!-- --></A><H3> |
---|
| 1236 | getSocketFactory</H3> |
---|
| 1237 | <PRE> |
---|
| 1238 | public javax.net.SocketFactory <B>getSocketFactory</B>()</PRE> |
---|
| 1239 | <DL> |
---|
| 1240 | <DD>Retrieve the socket factory used to make connections with. |
---|
| 1241 | <P> |
---|
| 1242 | <DD><DL> |
---|
| 1243 | </DL> |
---|
| 1244 | </DD> |
---|
| 1245 | <DD><DL> |
---|
| 1246 | </DL> |
---|
| 1247 | </DD> |
---|
| 1248 | </DL> |
---|
| 1249 | <HR> |
---|
| 1250 | |
---|
| 1251 | <A NAME="setSocketFactory(javax.net.SocketFactory)"><!-- --></A><H3> |
---|
| 1252 | setSocketFactory</H3> |
---|
| 1253 | <PRE> |
---|
| 1254 | public void <B>setSocketFactory</B>(javax.net.SocketFactory factory)</PRE> |
---|
| 1255 | <DL> |
---|
| 1256 | <DD>Set the socket factory used to make connections with. Can be |
---|
| 1257 | used to enable SSL connections by passing in a |
---|
| 1258 | javax.net.ssl.SSLSocketFactory instance. |
---|
| 1259 | <P> |
---|
| 1260 | <DD><DL> |
---|
| 1261 | </DL> |
---|
| 1262 | </DD> |
---|
| 1263 | <DD><DL> |
---|
| 1264 | <DT><B>See Also:</B><DD><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#useSslProtocol()"><CODE>useSslProtocol()</CODE></A></DL> |
---|
| 1265 | </DD> |
---|
| 1266 | </DL> |
---|
| 1267 | <HR> |
---|
| 1268 | |
---|
| 1269 | <A NAME="isSSL()"><!-- --></A><H3> |
---|
| 1270 | isSSL</H3> |
---|
| 1271 | <PRE> |
---|
| 1272 | public boolean <B>isSSL</B>()</PRE> |
---|
| 1273 | <DL> |
---|
| 1274 | <DD><DL> |
---|
| 1275 | </DL> |
---|
| 1276 | </DD> |
---|
| 1277 | <DD><DL> |
---|
| 1278 | </DL> |
---|
| 1279 | </DD> |
---|
| 1280 | </DL> |
---|
| 1281 | <HR> |
---|
| 1282 | |
---|
| 1283 | <A NAME="useSslProtocol()"><!-- --></A><H3> |
---|
| 1284 | useSslProtocol</H3> |
---|
| 1285 | <PRE> |
---|
| 1286 | public void <B>useSslProtocol</B>() |
---|
| 1287 | throws java.security.NoSuchAlgorithmException, |
---|
| 1288 | java.security.KeyManagementException</PRE> |
---|
| 1289 | <DL> |
---|
| 1290 | <DD>Convenience method for setting up a SSL socket factory, using |
---|
| 1291 | the DEFAULT_SSL_PROTOCOL and a trusting TrustManager. |
---|
| 1292 | <P> |
---|
| 1293 | <DD><DL> |
---|
| 1294 | </DL> |
---|
| 1295 | </DD> |
---|
| 1296 | <DD><DL> |
---|
| 1297 | |
---|
| 1298 | <DT><B>Throws:</B> |
---|
| 1299 | <DD><CODE>java.security.NoSuchAlgorithmException</CODE> |
---|
| 1300 | <DD><CODE>java.security.KeyManagementException</CODE></DL> |
---|
| 1301 | </DD> |
---|
| 1302 | </DL> |
---|
| 1303 | <HR> |
---|
| 1304 | |
---|
| 1305 | <A NAME="useSslProtocol(java.lang.String)"><!-- --></A><H3> |
---|
| 1306 | useSslProtocol</H3> |
---|
| 1307 | <PRE> |
---|
| 1308 | public void <B>useSslProtocol</B>(java.lang.String protocol) |
---|
| 1309 | throws java.security.NoSuchAlgorithmException, |
---|
| 1310 | java.security.KeyManagementException</PRE> |
---|
| 1311 | <DL> |
---|
| 1312 | <DD>Convenience method for setting up a SSL socket factory, using |
---|
| 1313 | the supplied protocol and a very trusting TrustManager. |
---|
| 1314 | <P> |
---|
| 1315 | <DD><DL> |
---|
| 1316 | </DL> |
---|
| 1317 | </DD> |
---|
| 1318 | <DD><DL> |
---|
| 1319 | |
---|
| 1320 | <DT><B>Throws:</B> |
---|
| 1321 | <DD><CODE>java.security.NoSuchAlgorithmException</CODE> |
---|
| 1322 | <DD><CODE>java.security.KeyManagementException</CODE></DL> |
---|
| 1323 | </DD> |
---|
| 1324 | </DL> |
---|
| 1325 | <HR> |
---|
| 1326 | |
---|
| 1327 | <A NAME="useSslProtocol(java.lang.String, javax.net.ssl.TrustManager)"><!-- --></A><H3> |
---|
| 1328 | useSslProtocol</H3> |
---|
| 1329 | <PRE> |
---|
| 1330 | public void <B>useSslProtocol</B>(java.lang.String protocol, |
---|
| 1331 | javax.net.ssl.TrustManager trustManager) |
---|
| 1332 | throws java.security.NoSuchAlgorithmException, |
---|
| 1333 | java.security.KeyManagementException</PRE> |
---|
| 1334 | <DL> |
---|
| 1335 | <DD>Convenience method for setting up an SSL socket factory. |
---|
| 1336 | Pass in the SSL protocol to use, e.g. "TLS" or "SSLv3". |
---|
| 1337 | <P> |
---|
| 1338 | <DD><DL> |
---|
| 1339 | </DL> |
---|
| 1340 | </DD> |
---|
| 1341 | <DD><DL> |
---|
| 1342 | <DT><B>Parameters:</B><DD><CODE>protocol</CODE> - SSL protocol to use. |
---|
| 1343 | <DT><B>Throws:</B> |
---|
| 1344 | <DD><CODE>java.security.NoSuchAlgorithmException</CODE> |
---|
| 1345 | <DD><CODE>java.security.KeyManagementException</CODE></DL> |
---|
| 1346 | </DD> |
---|
| 1347 | </DL> |
---|
| 1348 | <HR> |
---|
| 1349 | |
---|
| 1350 | <A NAME="useSslProtocol(javax.net.ssl.SSLContext)"><!-- --></A><H3> |
---|
| 1351 | useSslProtocol</H3> |
---|
| 1352 | <PRE> |
---|
| 1353 | public void <B>useSslProtocol</B>(javax.net.ssl.SSLContext context)</PRE> |
---|
| 1354 | <DL> |
---|
| 1355 | <DD>Convenience method for setting up an SSL socket factory. |
---|
| 1356 | Pass in an initialized SSLContext. |
---|
| 1357 | <P> |
---|
| 1358 | <DD><DL> |
---|
| 1359 | </DL> |
---|
| 1360 | </DD> |
---|
| 1361 | <DD><DL> |
---|
| 1362 | <DT><B>Parameters:</B><DD><CODE>context</CODE> - An initialized SSLContext</DL> |
---|
| 1363 | </DD> |
---|
| 1364 | </DL> |
---|
| 1365 | <HR> |
---|
| 1366 | |
---|
| 1367 | <A NAME="createFrameHandler(com.rabbitmq.client.Address)"><!-- --></A><H3> |
---|
| 1368 | createFrameHandler</H3> |
---|
| 1369 | <PRE> |
---|
| 1370 | protected <A HREF="../../../com/rabbitmq/client/impl/FrameHandler.html" title="interface in com.rabbitmq.client.impl">FrameHandler</A> <B>createFrameHandler</B>(<A HREF="../../../com/rabbitmq/client/Address.html" title="class in com.rabbitmq.client">Address</A> addr) |
---|
| 1371 | throws java.io.IOException</PRE> |
---|
| 1372 | <DL> |
---|
| 1373 | <DD><DL> |
---|
| 1374 | </DL> |
---|
| 1375 | </DD> |
---|
| 1376 | <DD><DL> |
---|
| 1377 | |
---|
| 1378 | <DT><B>Throws:</B> |
---|
| 1379 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
| 1380 | </DD> |
---|
| 1381 | </DL> |
---|
| 1382 | <HR> |
---|
| 1383 | |
---|
| 1384 | <A NAME="createFrameHandler(java.net.Socket)"><!-- --></A><H3> |
---|
| 1385 | createFrameHandler</H3> |
---|
| 1386 | <PRE> |
---|
| 1387 | protected <A HREF="../../../com/rabbitmq/client/impl/FrameHandler.html" title="interface in com.rabbitmq.client.impl">FrameHandler</A> <B>createFrameHandler</B>(java.net.Socket sock) |
---|
| 1388 | throws java.io.IOException</PRE> |
---|
| 1389 | <DL> |
---|
| 1390 | <DD><DL> |
---|
| 1391 | </DL> |
---|
| 1392 | </DD> |
---|
| 1393 | <DD><DL> |
---|
| 1394 | |
---|
| 1395 | <DT><B>Throws:</B> |
---|
| 1396 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
| 1397 | </DD> |
---|
| 1398 | </DL> |
---|
| 1399 | <HR> |
---|
| 1400 | |
---|
| 1401 | <A NAME="configureSocket(java.net.Socket)"><!-- --></A><H3> |
---|
| 1402 | configureSocket</H3> |
---|
| 1403 | <PRE> |
---|
| 1404 | protected void <B>configureSocket</B>(java.net.Socket socket) |
---|
| 1405 | throws java.io.IOException</PRE> |
---|
| 1406 | <DL> |
---|
| 1407 | <DD>Provides a hook to insert custom configuration of the sockets |
---|
| 1408 | used to connect to an AMQP server before they connect. |
---|
| 1409 | |
---|
| 1410 | The default behaviour of this method is to disable Nagle's |
---|
| 1411 | algorithm to get more consistently low latency. However it |
---|
| 1412 | may be overridden freely and there is no requirement to retain |
---|
| 1413 | this behaviour. |
---|
| 1414 | <P> |
---|
| 1415 | <DD><DL> |
---|
| 1416 | </DL> |
---|
| 1417 | </DD> |
---|
| 1418 | <DD><DL> |
---|
| 1419 | <DT><B>Parameters:</B><DD><CODE>socket</CODE> - The socket that is to be used for the Connection |
---|
| 1420 | <DT><B>Throws:</B> |
---|
| 1421 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
| 1422 | </DD> |
---|
| 1423 | </DL> |
---|
| 1424 | <HR> |
---|
| 1425 | |
---|
| 1426 | <A NAME="newConnection(com.rabbitmq.client.Address[])"><!-- --></A><H3> |
---|
| 1427 | newConnection</H3> |
---|
| 1428 | <PRE> |
---|
| 1429 | public <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A> <B>newConnection</B>(<A HREF="../../../com/rabbitmq/client/Address.html" title="class in com.rabbitmq.client">Address</A>[] addrs) |
---|
| 1430 | throws java.io.IOException</PRE> |
---|
| 1431 | <DL> |
---|
| 1432 | <DD>Create a new broker connection |
---|
| 1433 | <P> |
---|
| 1434 | <DD><DL> |
---|
| 1435 | </DL> |
---|
| 1436 | </DD> |
---|
| 1437 | <DD><DL> |
---|
| 1438 | <DT><B>Parameters:</B><DD><CODE>addrs</CODE> - an array of known broker addresses (hostname/port pairs) to try in order |
---|
| 1439 | <DT><B>Returns:</B><DD>an interface to the connection |
---|
| 1440 | <DT><B>Throws:</B> |
---|
| 1441 | <DD><CODE>java.io.IOException</CODE> - if it encounters a problem</DL> |
---|
| 1442 | </DD> |
---|
| 1443 | </DL> |
---|
| 1444 | <HR> |
---|
| 1445 | |
---|
| 1446 | <A NAME="newConnection(java.util.concurrent.ExecutorService, com.rabbitmq.client.Address[])"><!-- --></A><H3> |
---|
| 1447 | newConnection</H3> |
---|
| 1448 | <PRE> |
---|
| 1449 | public <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A> <B>newConnection</B>(java.util.concurrent.ExecutorService executor, |
---|
| 1450 | <A HREF="../../../com/rabbitmq/client/Address.html" title="class in com.rabbitmq.client">Address</A>[] addrs) |
---|
| 1451 | throws java.io.IOException</PRE> |
---|
| 1452 | <DL> |
---|
| 1453 | <DD>Create a new broker connection |
---|
| 1454 | <P> |
---|
| 1455 | <DD><DL> |
---|
| 1456 | </DL> |
---|
| 1457 | </DD> |
---|
| 1458 | <DD><DL> |
---|
| 1459 | <DT><B>Parameters:</B><DD><CODE>executor</CODE> - thread execution service for consumers on the connection<DD><CODE>addrs</CODE> - an array of known broker addresses (hostname/port pairs) to try in order |
---|
| 1460 | <DT><B>Returns:</B><DD>an interface to the connection |
---|
| 1461 | <DT><B>Throws:</B> |
---|
| 1462 | <DD><CODE>java.io.IOException</CODE> - if it encounters a problem</DL> |
---|
| 1463 | </DD> |
---|
| 1464 | </DL> |
---|
| 1465 | <HR> |
---|
| 1466 | |
---|
| 1467 | <A NAME="newConnection()"><!-- --></A><H3> |
---|
| 1468 | newConnection</H3> |
---|
| 1469 | <PRE> |
---|
| 1470 | public <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A> <B>newConnection</B>() |
---|
| 1471 | throws java.io.IOException</PRE> |
---|
| 1472 | <DL> |
---|
| 1473 | <DD>Create a new broker connection |
---|
| 1474 | <P> |
---|
| 1475 | <DD><DL> |
---|
| 1476 | </DL> |
---|
| 1477 | </DD> |
---|
| 1478 | <DD><DL> |
---|
| 1479 | |
---|
| 1480 | <DT><B>Returns:</B><DD>an interface to the connection |
---|
| 1481 | <DT><B>Throws:</B> |
---|
| 1482 | <DD><CODE>java.io.IOException</CODE> - if it encounters a problem</DL> |
---|
| 1483 | </DD> |
---|
| 1484 | </DL> |
---|
| 1485 | <HR> |
---|
| 1486 | |
---|
| 1487 | <A NAME="newConnection(java.util.concurrent.ExecutorService)"><!-- --></A><H3> |
---|
| 1488 | newConnection</H3> |
---|
| 1489 | <PRE> |
---|
| 1490 | public <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A> <B>newConnection</B>(java.util.concurrent.ExecutorService executor) |
---|
| 1491 | throws java.io.IOException</PRE> |
---|
| 1492 | <DL> |
---|
| 1493 | <DD>Create a new broker connection |
---|
| 1494 | <P> |
---|
| 1495 | <DD><DL> |
---|
| 1496 | </DL> |
---|
| 1497 | </DD> |
---|
| 1498 | <DD><DL> |
---|
| 1499 | <DT><B>Parameters:</B><DD><CODE>executor</CODE> - thread execution service for consumers on the connection |
---|
| 1500 | <DT><B>Returns:</B><DD>an interface to the connection |
---|
| 1501 | <DT><B>Throws:</B> |
---|
| 1502 | <DD><CODE>java.io.IOException</CODE> - if it encounters a problem</DL> |
---|
| 1503 | </DD> |
---|
| 1504 | </DL> |
---|
| 1505 | <HR> |
---|
| 1506 | |
---|
| 1507 | <A NAME="clone()"><!-- --></A><H3> |
---|
| 1508 | clone</H3> |
---|
| 1509 | <PRE> |
---|
| 1510 | public <A HREF="../../../com/rabbitmq/client/ConnectionFactory.html" title="class in com.rabbitmq.client">ConnectionFactory</A> <B>clone</B>()</PRE> |
---|
| 1511 | <DL> |
---|
| 1512 | <DD><DL> |
---|
| 1513 | <DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL> |
---|
| 1514 | </DD> |
---|
| 1515 | <DD><DL> |
---|
| 1516 | </DL> |
---|
| 1517 | </DD> |
---|
| 1518 | </DL> |
---|
| 1519 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 1520 | <HR> |
---|
| 1521 | |
---|
| 1522 | |
---|
| 1523 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 1524 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 1525 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 1526 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 1527 | <TR> |
---|
| 1528 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 1529 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 1530 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 1531 | <TR ALIGN="center" VALIGN="top"> |
---|
| 1532 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 1533 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 1534 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 1535 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 1536 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 1537 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 1538 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 1539 | </TR> |
---|
| 1540 | </TABLE> |
---|
| 1541 | </TD> |
---|
| 1542 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 1543 | </EM> |
---|
| 1544 | </TD> |
---|
| 1545 | </TR> |
---|
| 1546 | |
---|
| 1547 | <TR> |
---|
| 1548 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1549 | <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client"><B>PREV CLASS</B></A> |
---|
| 1550 | <A HREF="../../../com/rabbitmq/client/Consumer.html" title="interface in com.rabbitmq.client"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 1551 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1552 | <A HREF="../../../index.html?com/rabbitmq/client/ConnectionFactory.html" target="_top"><B>FRAMES</B></A> |
---|
| 1553 | <A HREF="ConnectionFactory.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 1554 | <SCRIPT type="text/javascript"> |
---|
| 1555 | <!-- |
---|
| 1556 | if(window==top) { |
---|
| 1557 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 1558 | } |
---|
| 1559 | //--> |
---|
| 1560 | </SCRIPT> |
---|
| 1561 | <NOSCRIPT> |
---|
| 1562 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 1563 | </NOSCRIPT> |
---|
| 1564 | |
---|
| 1565 | |
---|
| 1566 | </FONT></TD> |
---|
| 1567 | </TR> |
---|
| 1568 | <TR> |
---|
| 1569 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1570 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 1571 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1572 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 1573 | </TR> |
---|
| 1574 | </TABLE> |
---|
| 1575 | <A NAME="skip-navbar_bottom"></A> |
---|
| 1576 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 1577 | |
---|
| 1578 | <HR> |
---|
| 1579 | |
---|
| 1580 | </BODY> |
---|
| 1581 | </HTML> |
---|