You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/wikipages/data.ApiOverview.txt
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -127,10 +127,13 @@ The following code connects to an AMQP broker:
127
127
factory.Port = AmqpTcpEndpoint.UseDefaultPort;
128
128
IConnection conn = factory.CreateConnection();
129
129
130
-
The default parameters are:
130
+
All factory properties have default values. The default value for a property will be used if the property remains unassigned prior to creating a connection:
131
131
- username: [code "guest"]
132
132
- password: [code "guest"]
133
133
- virtual-host: [code "/"]
134
+
- protocol: [code AMQP 0.8]
135
+
- hostname: [code localhost]
136
+
- port: [code 5672]
134
137
135
138
The IConnection interface can then be used to open a channel:
0 commit comments