|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RabbitMqStrategy
Interface describing a strategy for creating a SimpleMessageListenerContainer class and setting the exclusive mode on the underlying subscriptions. Up until Spring AMQP 1.2, this was not supported. Support was added in Spring AMQP 1.3 in a backward incompatible fashion.
Method Summary | |
---|---|
org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer |
createContainer()
Create a new instance of the container |
void |
setExclusive(org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer container,
boolean exclusive)
Define exclusive mode on the underlying container |
Method Detail |
---|
void setExclusive(org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer container, boolean exclusive)
container
- The container to set exclusive mode onexclusive
- Whether to enable or disable exclusive modeorg.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer createContainer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |