Class BoundRabbitChannelAdvice

java.lang.Object
org.springframework.integration.amqp.support.BoundRabbitChannelAdvice
All Implemented Interfaces:
Advice, Interceptor, MethodInterceptor, HandleMessageAdvice

public class BoundRabbitChannelAdvice
extends Object
implements HandleMessageAdvice
An advice that causes all downstream RabbitOperations operations to be executed on the same channel, as long as there are no thread handoffs, since the channel is bound to the thread. The same RabbitOperations must be used in this and all downstream components. Typically, used with a splitter or some other mechanism that would cause multiple messages to be sent. Optionally waits for publisher confirms if the channel is so configured.
Since:
5.1
Author:
Gary Russell, Artem Bilan