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.
2 parents b2db10a + 484414e commit bba45a8Copy full SHA for bba45a8
src/main/java/com/rabbitmq/client/Connection.java
@@ -16,6 +16,7 @@
16
17
package com.rabbitmq.client;
18
19
+import java.io.Closeable;
20
import java.io.IOException;
21
import java.net.InetAddress;
22
import java.util.Map;
@@ -50,7 +51,7 @@
50
51
* Current implementations are thread-safe for code at the client API level,
52
* and in fact thread-safe internally except for code within RPC calls.
53
*/
-public interface Connection extends ShutdownNotifier { // rename to AMQPConnection later, this is a temporary name
54
+public interface Connection extends ShutdownNotifier, Closeable { // rename to AMQPConnection later, this is a temporary name
55
/**
56
* Retrieve the host.
57
* @return the hostname of the peer we're connected to.
0 commit comments