File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/main/java/com/rabbitmq/client/amqp Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2323/** Builder for {@link Connection} instances. */
2424public interface ConnectionBuilder extends ConnectionSettings <ConnectionBuilder > {
2525
26+ /**
27+ * Set the name of the connection.
28+ *
29+ * <p>The name of the connection will be displayed in the management UI.
30+ *
31+ * @param name client-provided connection name
32+ * @return this builder instance
33+ */
34+ ConnectionBuilder name (String name );
35+
2636 /**
2737 * Configuration for recovery.
2838 *
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ void copyTo(AmqpConnectionBuilder copy) {
168168 copy .dispatchingExecutor (this .dispatchingExecutor );
169169 }
170170
171- AmqpConnectionBuilder name (String name ) {
171+ public AmqpConnectionBuilder name (String name ) {
172172 this .name = name ;
173173 return this ;
174174 }
You can’t perform that action at this time.
0 commit comments