Skip to content

Commit bba45a8

Browse files
Merge branch 'Khazrak-rabbitmq-java-client-131'
2 parents b2db10a + 484414e commit bba45a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/rabbitmq/client/Connection.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.rabbitmq.client;
1818

19+
import java.io.Closeable;
1920
import java.io.IOException;
2021
import java.net.InetAddress;
2122
import java.util.Map;
@@ -50,7 +51,7 @@
5051
* Current implementations are thread-safe for code at the client API level,
5152
* and in fact thread-safe internally except for code within RPC calls.
5253
*/
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
5455
/**
5556
* Retrieve the host.
5657
* @return the hostname of the peer we're connected to.

0 commit comments

Comments
 (0)