|
Spring AMQP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.amqp.rabbit.connection.SimpleConnection
public class SimpleConnection
Constructor Summary | |
---|---|
SimpleConnection(com.rabbitmq.client.Connection delegate)
|
Method Summary | |
---|---|
void |
close()
Close this connection and all its channels with the AMQP.REPLY_SUCCESS close code
and message 'OK'. |
com.rabbitmq.client.Channel |
createChannel(boolean transactional)
Create a new channel, using an internally allocated channel number. |
boolean |
isOpen()
Flag to indicate the status of the connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleConnection(com.rabbitmq.client.Connection delegate)
Method Detail |
---|
public com.rabbitmq.client.Channel createChannel(boolean transactional)
Connection
createChannel
in interface Connection
transactional
- true if the channel should support transactions
public void close()
Connection
AMQP.REPLY_SUCCESS
close code
and message 'OK'.
Waits for all the close operations to complete.
close
in interface Connection
public boolean isOpen()
Connection
isOpen
in interface Connection
|
Spring AMQP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |