@Singleton public class RabbitMQIntroductionAdvice extends Object implements io.micronaut.aop.MethodInterceptor<Object,Object>
RabbitClient
advice annotation.RabbitClient
Constructor and Description |
---|
RabbitMQIntroductionAdvice(ChannelPool channelPool,
ReactivePublisher<?> reactivePublisher,
io.micronaut.core.convert.ConversionService<?> conversionService,
RabbitMessageSerDesRegistry serDesRegistry)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
intercept(io.micronaut.aop.MethodInvocationContext<Object,Object> context) |
public RabbitMQIntroductionAdvice(ChannelPool channelPool, ReactivePublisher<?> reactivePublisher, io.micronaut.core.convert.ConversionService<?> conversionService, RabbitMessageSerDesRegistry serDesRegistry)
channelPool
- The pool to retrieve a channel fromreactivePublisher
- The publisher to use when publisher acknowledgement is requiredconversionService
- The conversion serviceserDesRegistry
- The registry to find a serDes to serialize the body