Example usage for com.rabbitmq.client Connection abort

List of usage examples for com.rabbitmq.client Connection abort

Introduction

In this page you can find the example usage for com.rabbitmq.client Connection abort.

Prototype

void abort();

Source Link

Document

Abort this connection and all its channels with the com.rabbitmq.client.AMQP#REPLY_SUCCESS close code and message 'OK'.

Usage

From source file:org.ballerinalang.messaging.rabbitmq.util.ConnectionUtils.java

License:Open Source License

/**
 * Aborts the connection./* w ww .ja  v  a2 s.c o  m*/
 *
 * @param connection RabbitMQ Connection object.
 */
private static void abortConnection(Connection connection) {
    connection.abort();
}