|
Spring AMQP | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connection
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. |
Method Detail |
---|
com.rabbitmq.client.Channel createChannel(boolean transactional) throws AmqpException
transactional
- true if the channel should support transactions
AmqpException
- if an I/O problem is encounteredvoid close() throws AmqpException
AMQP.REPLY_SUCCESS
close code
and message 'OK'.
Waits for all the close operations to complete.
AmqpException
- if an I/O problem is encounteredboolean isOpen()
|
Spring AMQP | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |