Class JetStreamIntroductionAdvice
java.lang.Object
io.micronaut.nats.intercept.AbstractIntroductionAdvice
io.micronaut.nats.jetstream.intercept.JetStreamIntroductionAdvice
- All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,
,Object> io.micronaut.aop.MethodInterceptor<Object,
,Object> io.micronaut.core.order.Ordered
@Singleton
@InterceptorBean(JetStreamClient.class)
public class JetStreamIntroductionAdvice
extends AbstractIntroductionAdvice
implements io.micronaut.aop.MethodInterceptor<Object,Object>
Implementation of the
JetStreamClient
advice annotation.- Since:
- 1.0.0
- Author:
- jgrimm
-
Field Summary
Fields inherited from class io.micronaut.nats.intercept.AbstractIntroductionAdvice
beanContext, conversionService, scheduler, serDesRegistry
Fields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGET
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionJetStreamIntroductionAdvice
(io.micronaut.context.BeanContext beanContext, io.micronaut.core.convert.ConversionService conversionService, NatsMessageSerDesRegistry serDesRegistry, ExecutorService executorService) Default constructor. -
Method Summary
Methods inherited from class io.micronaut.nats.intercept.AbstractIntroductionAdvice
buildNatsMessage, buildPublisherState, handleResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.aop.MethodInterceptor
intercept
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
JetStreamIntroductionAdvice
public JetStreamIntroductionAdvice(io.micronaut.context.BeanContext beanContext, io.micronaut.core.convert.ConversionService conversionService, NatsMessageSerDesRegistry serDesRegistry, @Named("blocking") ExecutorService executorService) Default constructor.- Parameters:
beanContext
- The bean contextconversionService
- The conversion serviceserDesRegistry
- The serialization/deserialization registryexecutorService
- The executor to execute reactive operations on
-
-
Method Details