blob: 7f2e04ba817e4086591b0ddc97d39b371dda8081 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
<html>
<head>
<title>Apache Qpid : 0.10 Connection URL Format</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
<tr>
<td valign="top" class="pagebody">
<div class="pageheader">
<span class="pagetitle">
Apache Qpid : 0.10 Connection URL Format
</span>
</div>
<div class="pagesubheading">
This page last changed on Jan 30, 2008 by <font color="#0050B2">asimon</font>.
</div>
<div class="preformatted"><div class="preformattedContent">
<pre>qpid:[<property>=<value>[;<property>=<value>]]@<transport>:<host>[:<port>]
</pre>
</div></div>
<h4><a name="0.10ConnectionURLFormat-Currentlyhandledproperties"></a>Currently handled properties</h4>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Option</th>
<th class='confluenceTh'>Default</th>
<th class='confluenceTh'>Description</th>
</tr>
<tr>
<td class='confluenceTd'>virtualhost</td>
<td class='confluenceTd'>""</td>
<td class='confluenceTd'>Set the virtual host to be used (this is currently not supported by the 0.10 c++ broker</td>
</tr>
<tr>
<td class='confluenceTd'>username</td>
<td class='confluenceTd'>guest</td>
<td class='confluenceTd'>The user name for the client.</td>
</tr>
<tr>
<td class='confluenceTd'>password</td>
<td class='confluenceTd'>guest</td>
<td class='confluenceTd'>The password used for creating a connection.</td>
</tr>
<tr>
<td class='confluenceTd'>client_id</td>
<td class='confluenceTd'>auto-generated</td>
<td class='confluenceTd'>The client identifier used for creating a connection.</td>
</tr>
</tbody></table>
<h4><a name="0.10ConnectionURLFormat-Currentlyhandledtransports"></a>Currently handled transports</h4>
<p>Currently only 'tcp' transport is supported. 'tls' will however be supported and additional properties like 'keystore' and 'keystorelocation' will be added. The 'vm' transport should also be supported when a 0.10 Java broker will be available. </p>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Option</th>
<th class='confluenceTh'>Default</th>
<th class='confluenceTh'>Description</th>
</tr>
<tr>
<td class='confluenceTd'>tcp</td>
<td class='confluenceTd'>true</td>
<td class='confluenceTd'>Use a TCP connection</td>
</tr>
<tr>
<td class='confluenceTd'>tls</td>
<td class='confluenceTd'>false</td>
<td class='confluenceTd'>Use a tls connection</td>
</tr>
</tbody></table>
<h4><a name="0.10ConnectionURLFormat-Hostport"></a>Host port</h4>
<p>The default host port used is 5672 for 'tcp'. </p>
<h4><a name="0.10ConnectionURLFormat-Failover"></a>Failover </h4>
<p>It is planned to introduce a failover property for controlling how failover occurs when presented with a list of brokers. This is however not yet supported. </p>
<h3><a name="0.10ConnectionURLFormat-SampleURLs"></a>Sample URLs </h3>
<div class="preformatted"><div class="preformattedContent">
<pre>qpid:@tcp:myHost
qpid:client_id=myClientIDpassword=myPassword;username=myUsername@tcp:myHost:5644
</pre>
</div></div>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="12" background="border/border_bottom.gif"><img src="border/spacer.gif" width="1" height="1" border="0"/></td>
</tr>
<tr>
<td align="center"><font color="grey">Document generated by Confluence on Apr 22, 2008 02:47</font></td>
</tr>
</table>
</body>
</html>
|