public interface RabbitQueueFactory extends Closeable
| Modifier and Type | Method and Description |
|---|---|
RabbitQueue |
createDefaultRabbitQueue(String name)
This method opens a channel using the established connection to RabbitMQ
and creates a new queue using the given name and the following
configuration:
The channel number is automatically derived from the connection.
|
com.rabbitmq.client.Connection |
getConnection() |
RabbitQueue createDefaultRabbitQueue(String name) throws IOException
name - name of the queueRabbitQueue object comprising the Channel and the
name of the created queueIOException - if a communication problem during the creation of the channel
or the queue occurscom.rabbitmq.client.Connection getConnection()
Copyright © 2017. All rights reserved.