List of usage examples for com.rabbitmq.client Connection close
void close(int closeCode, String closeMessage, int timeout) throws IOException;
From source file:org.ballerinalang.messaging.rabbitmq.util.ConnectionUtils.java
License:Open Source License
/** * Closes the connection.//from ww w .j a v a 2 s . co m * * @param connection RabbitMQ Connection object. * @throws IOException If an I/O problem is encountered. */ private static void close(Connection connection, int closeCode, String closeMessage, int timeout) throws IOException { connection.close(closeCode, closeMessage, timeout); }