Class ContextDecorator
java.lang.Object
io.smallrye.reactive.messaging.providers.locals.ContextDecorator
- All Implemented Interfaces:
PublisherDecorator,jakarta.enterprise.inject.spi.Prioritized
Decorator to dispatch messages on the Vert.x context attached to the message via
LocalContextMetadata.
Low priority to be called before other decorators.-
Field Summary
Fields inherited from interface io.smallrye.reactive.messaging.PublisherDecorator
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.reactive.messaging.PublisherDecorator
decorate
-
Constructor Details
-
ContextDecorator
public ContextDecorator()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfacejakarta.enterprise.inject.spi.Prioritized- Specified by:
getPriorityin interfacePublisherDecorator
-
decorate
public io.smallrye.mutiny.Multi<? extends Message<?>> decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName, boolean isConnector) - Specified by:
decoratein interfacePublisherDecorator
-