We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc96cb6 commit 99b3a7bCopy full SHA for 99b3a7b
src/com/rabbitmq/client/Connection.java
@@ -38,6 +38,14 @@
38
*
39
* Channel channel = conn.createChannel();
40
* </pre>
41
+ * Or, more compactly:
42
+ *
43
+ * <pre>
44
+ * ConnectionFactory factory = new ConnectionFactory();
45
+ * factory.setUri("amqp://username:password@hostName:portNumber/virtualHost");
46
+ * Connection conn = factory.newConnection();
47
+ * Channel channel = conn.createChannel()
48
+ * </pre>
49
50
* Current implementations are thread-safe for code at the client API level,
51
* and in fact thread-safe internally except for code within RPC calls.
0 commit comments