source: objectmq/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/client/ConnectionFactory.html @ 3

Last change on this file since 3 was 3, checked in by stoda, 11 years ago
File size: 55.1 KB
Line 
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>
7ConnectionFactory
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">
15function 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>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<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>  &nbsp;
61&nbsp;<A HREF="ConnectionFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
90com.rabbitmq.client</FONT>
91<BR>
92Class ConnectionFactory</H2>
93<PRE>
94java.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>
106Convenience "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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>static&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Use the default port' port</TD>
220</TR>
221</TABLE>
222&nbsp;
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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
236</TR>
237</TABLE>
238&nbsp;
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>&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257<CODE>protected &nbsp;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&nbsp;socket)</CODE>
259
260<BR>
261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;<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>&nbsp;addr)</CODE>
268
269<BR>
270&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
271</TR>
272<TR BGCOLOR="white" CLASS="TableRowColor">
273<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
274<CODE>protected &nbsp;<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&nbsp;sock)</CODE>
276
277<BR>
278&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
279</TR>
280<TR BGCOLOR="white" CLASS="TableRowColor">
281<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
282<CODE>&nbsp;java.util.Map&lt;java.lang.String,java.lang.Object&gt;</CODE></FONT></TD>
283<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getClientProperties()">getClientProperties</A></B>()</CODE>
284
285<BR>
286&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
293<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getConnectionTimeout()">getConnectionTimeout</A></B>()</CODE>
294
295<BR>
296&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
305</TR>
306<TR BGCOLOR="white" CLASS="TableRowColor">
307<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308<CODE>&nbsp;int</CODE></FONT></TD>
309<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getNumConsumerThreads()">getNumConsumerThreads</A></B>()</CODE>
310
311<BR>
312&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;</TD>
313</TR>
314<TR BGCOLOR="white" CLASS="TableRowColor">
315<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316<CODE>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
325<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getPort()">getPort</A></B>()</CODE>
326
327<BR>
328&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
329</TR>
330<TR BGCOLOR="white" CLASS="TableRowColor">
331<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
332<CODE>&nbsp;int</CODE></FONT></TD>
333<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getRequestedChannelMax()">getRequestedChannelMax</A></B>()</CODE>
334
335<BR>
336&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
341<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getRequestedFrameMax()">getRequestedFrameMax</A></B>()</CODE>
342
343<BR>
344&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
349<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#getRequestedHeartbeat()">getRequestedHeartbeat</A></B>()</CODE>
350
351<BR>
352&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
389<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#isSSL()">isSSL</A></B>()</CODE>
390
391<BR>
392&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
393</TR>
394<TR BGCOLOR="white" CLASS="TableRowColor">
395<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
396<CODE>&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>[]&nbsp;addrs)</CODE>
406
407<BR>
408&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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&nbsp;executor)</CODE>
414
415<BR>
416&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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&nbsp;executor,
422              <A HREF="../../../com/rabbitmq/client/Address.html" title="class in com.rabbitmq.client">Address</A>[]&nbsp;addrs)</CODE>
423
424<BR>
425&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&lt;java.lang.String,java.lang.Object&gt;&nbsp;clientProperties)</CODE>
431
432<BR>
433&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
439<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setConnectionTimeout(int)">setConnectionTimeout</A></B>(int&nbsp;connectionTimeout)</CODE>
440
441<BR>
442&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;host)</CODE>
448
449<BR>
450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
451</TR>
452<TR BGCOLOR="white" CLASS="TableRowColor">
453<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
454<CODE>&nbsp;void</CODE></FONT></TD>
455<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setNumConsumerThreads(int)">setNumConsumerThreads</A></B>(int&nbsp;numConsumerThreads)</CODE>
456
457<BR>
458&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;</TD>
459</TR>
460<TR BGCOLOR="white" CLASS="TableRowColor">
461<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
462<CODE>&nbsp;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&nbsp;password)</CODE>
464
465<BR>
466&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
471<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setPort(int)">setPort</A></B>(int&nbsp;port)</CODE>
472
473<BR>
474&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
479<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setRequestedChannelMax(int)">setRequestedChannelMax</A></B>(int&nbsp;requestedChannelMax)</CODE>
480
481<BR>
482&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
487<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setRequestedFrameMax(int)">setRequestedFrameMax</A></B>(int&nbsp;requestedFrameMax)</CODE>
488
489<BR>
490&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
495<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#setRequestedHeartbeat(int)">setRequestedHeartbeat</A></B>(int&nbsp;requestedHeartbeat)</CODE>
496
497<BR>
498&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;saslConfig)</CODE>
504
505<BR>
506&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;factory)</CODE>
512
513<BR>
514&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;uriString)</CODE>
520
521<BR>
522&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;uri)</CODE>
529
530<BR>
531&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;username)</CODE>
538
539<BR>
540&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;virtualHost)</CODE>
546
547<BR>
548&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
553<TD><CODE><B><A HREF="../../../com/rabbitmq/client/ConnectionFactory.html#useSslProtocol()">useSslProtocol</A></B>()</CODE>
554
555<BR>
556&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;context)</CODE>
563
564<BR>
565&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;protocol)</CODE>
571
572<BR>
573&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;protocol,
580               javax.net.ssl.TrustManager&nbsp;trustManager)</CODE>
581
582<BR>
583&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for setting up an SSL socket factory.</TD>
584</TR>
585</TABLE>
586&nbsp;<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&nbsp;
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>
609DEFAULT_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>&nbsp;<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>
622DEFAULT_USER</H3>
623<PRE>
624public 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>
634DEFAULT_PASS</H3>
635<PRE>
636public 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>
646DEFAULT_VHOST</H3>
647<PRE>
648public 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>
658DEFAULT_CHANNEL_MAX</H3>
659<PRE>
660public 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>
671DEFAULT_FRAME_MAX</H3>
672<PRE>
673public 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>
684DEFAULT_HEARTBEAT</H3>
685<PRE>
686public 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>
697DEFAULT_HOST</H3>
698<PRE>
699public 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>
709USE_DEFAULT_PORT</H3>
710<PRE>
711public 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>
721DEFAULT_AMQP_PORT</H3>
722<PRE>
723public 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>
733DEFAULT_AMQP_OVER_SSL_PORT</H3>
734<PRE>
735public 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>
745DEFAULT_CONNECTION_TIMEOUT</H3>
746<PRE>
747public 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>
767ConnectionFactory</H3>
768<PRE>
769public <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>
784getNumConsumerThreads</H3>
785<PRE>
786<FONT SIZE="-1">@Deprecated
787</FONT>public int <B>getNumConsumerThreads</B>()</PRE>
788<DL>
789<DD><B>Deprecated.</B>&nbsp;
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>
802setNumConsumerThreads</H3>
803<PRE>
804<FONT SIZE="-1">@Deprecated
805</FONT>public void <B>setNumConsumerThreads</B>(int&nbsp;numConsumerThreads)</PRE>
806<DL>
807<DD><B>Deprecated.</B>&nbsp;
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>
819getHost</H3>
820<PRE>
821public 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>
834setHost</H3>
835<PRE>
836public void <B>setHost</B>(java.lang.String&nbsp;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>
848getPort</H3>
849<PRE>
850public 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>
863setPort</H3>
864<PRE>
865public void <B>setPort</B>(int&nbsp;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>
879getUsername</H3>
880<PRE>
881public 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>
896setUsername</H3>
897<PRE>
898public void <B>setUsername</B>(java.lang.String&nbsp;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>
912getPassword</H3>
913<PRE>
914public 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>
929setPassword</H3>
930<PRE>
931public void <B>setPassword</B>(java.lang.String&nbsp;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>
945getVirtualHost</H3>
946<PRE>
947public 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>
962setVirtualHost</H3>
963<PRE>
964public void <B>setVirtualHost</B>(java.lang.String&nbsp;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>
978setUri</H3>
979<PRE>
980public void <B>setUri</B>(java.net.URI&nbsp;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>
1004setUri</H3>
1005<PRE>
1006public void <B>setUri</B>(java.lang.String&nbsp;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>
1033getRequestedChannelMax</H3>
1034<PRE>
1035public 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>
1050setRequestedChannelMax</H3>
1051<PRE>
1052public void <B>setRequestedChannelMax</B>(int&nbsp;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>
1066getRequestedFrameMax</H3>
1067<PRE>
1068public 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>
1083setRequestedFrameMax</H3>
1084<PRE>
1085public void <B>setRequestedFrameMax</B>(int&nbsp;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>
1099getRequestedHeartbeat</H3>
1100<PRE>
1101public 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>
1116setConnectionTimeout</H3>
1117<PRE>
1118public void <B>setConnectionTimeout</B>(int&nbsp;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>
1132getConnectionTimeout</H3>
1133<PRE>
1134public 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>
1149setRequestedHeartbeat</H3>
1150<PRE>
1151public void <B>setRequestedHeartbeat</B>(int&nbsp;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>
1165getClientProperties</H3>
1166<PRE>
1167public java.util.Map&lt;java.lang.String,java.lang.Object&gt; <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>
1186setClientProperties</H3>
1187<PRE>
1188public void <B>setClientProperties</B>(java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;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>
1203getSaslConfig</H3>
1204<PRE>
1205public <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>
1220setSaslConfig</H3>
1221<PRE>
1222public void <B>setSaslConfig</B>(<A HREF="../../../com/rabbitmq/client/SaslConfig.html" title="interface in com.rabbitmq.client">SaslConfig</A>&nbsp;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>
1236getSocketFactory</H3>
1237<PRE>
1238public 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>
1252setSocketFactory</H3>
1253<PRE>
1254public void <B>setSocketFactory</B>(javax.net.SocketFactory&nbsp;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>
1270isSSL</H3>
1271<PRE>
1272public 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>
1284useSslProtocol</H3>
1285<PRE>
1286public 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>
1306useSslProtocol</H3>
1307<PRE>
1308public void <B>useSslProtocol</B>(java.lang.String&nbsp;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>
1328useSslProtocol</H3>
1329<PRE>
1330public void <B>useSslProtocol</B>(java.lang.String&nbsp;protocol,
1331                           javax.net.ssl.TrustManager&nbsp;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>
1351useSslProtocol</H3>
1352<PRE>
1353public void <B>useSslProtocol</B>(javax.net.ssl.SSLContext&nbsp;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>
1368createFrameHandler</H3>
1369<PRE>
1370protected <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>&nbsp;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>
1385createFrameHandler</H3>
1386<PRE>
1387protected <A HREF="../../../com/rabbitmq/client/impl/FrameHandler.html" title="interface in com.rabbitmq.client.impl">FrameHandler</A> <B>createFrameHandler</B>(java.net.Socket&nbsp;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>
1402configureSocket</H3>
1403<PRE>
1404protected void <B>configureSocket</B>(java.net.Socket&nbsp;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>
1427newConnection</H3>
1428<PRE>
1429public <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>[]&nbsp;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>
1447newConnection</H3>
1448<PRE>
1449public <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A> <B>newConnection</B>(java.util.concurrent.ExecutorService&nbsp;executor,
1450                                <A HREF="../../../com/rabbitmq/client/Address.html" title="class in com.rabbitmq.client">Address</A>[]&nbsp;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>
1468newConnection</H3>
1469<PRE>
1470public <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>
1488newConnection</H3>
1489<PRE>
1490public <A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client">Connection</A> <B>newConnection</B>(java.util.concurrent.ExecutorService&nbsp;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>
1508clone</H3>
1509<PRE>
1510public <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>&nbsp;</TD>
1533  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1534  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1535  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1536  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1537  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1538  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client"><B>PREV CLASS</B></A>&nbsp;
1550&nbsp;<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>  &nbsp;
1553&nbsp;<A HREF="ConnectionFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
1554&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1571<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1572DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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>
Note: See TracBrowser for help on using the repository browser.