@Singleton public class RabbitMQIntroductionAdvice extends Object implements io.micronaut.aop.MethodInterceptor<Object,Object>
RabbitClient advice annotation.RabbitClient| Constructor and Description |
|---|
RabbitMQIntroductionAdvice(io.micronaut.context.BeanContext beanContext,
io.micronaut.core.convert.ConversionService<?> conversionService,
RabbitMessageSerDesRegistry serDesRegistry,
ExecutorService executorService)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
intercept(io.micronaut.aop.MethodInvocationContext<Object,Object> context) |
public RabbitMQIntroductionAdvice(io.micronaut.context.BeanContext beanContext,
io.micronaut.core.convert.ConversionService<?> conversionService,
RabbitMessageSerDesRegistry serDesRegistry,
@Named(value="io")
ExecutorService executorService)
beanContext - The bean contextconversionService - The conversion serviceserDesRegistry - The registry to find a serDes to serialize the bodyexecutorService - The executor to execute reactive operations on