Package io.atleon.rabbitmq
Class QueueBinding.QueueToBind
- java.lang.Object
-
- io.atleon.rabbitmq.QueueBinding.QueueToBind
-
- Enclosing class:
- QueueBinding
public static final class QueueBinding.QueueToBind extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueueBinding.QueueAndExchangeToBindtoExchange(String exchange)Pairs the queue contained by thisQueueBinding.QueueToBindwith an exchange to create aQueueBinding.QueueAndExchangeToBindthrough which the binding declaration can be completed with a routing key.
-
-
-
Method Detail
-
toExchange
public QueueBinding.QueueAndExchangeToBind toExchange(String exchange)
Pairs the queue contained by thisQueueBinding.QueueToBindwith an exchange to create aQueueBinding.QueueAndExchangeToBindthrough which the binding declaration can be completed with a routing key.- Parameters:
exchange- The exchange to pair with thisQueueBinding.QueueToBind's queue- Returns:
- A
QueueBinding.QueueAndExchangeToBindthrough which the declaration can be completed
-
-