Class SubscriberMediator
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.AbstractMediator
-
- io.smallrye.reactive.messaging.providers.SubscriberMediator
-
public class SubscriberMediator extends AbstractMediator
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.providers.AbstractMediator
configuration, health, workerPoolRegistry
-
-
Constructor Summary
Constructors Constructor Description SubscriberMediator(MediatorConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectToUpstream(io.smallrye.mutiny.Multi<? extends Message<?>> publisher)
org.reactivestreams.Subscriber<Message<?>>
getComputedSubscriber()
void
initialize(Object bean)
boolean
isConnected()
void
run()
-
Methods inherited from class io.smallrye.reactive.messaging.providers.AbstractMediator
configuration, convert, decorate, getAckOrCompletion, getConfiguration, getMethodAsString, getStream, handlePreProcessingAck, invoke, invokeBlocking, managePreProcessingAck, setConverters, setDecorators, setHealth, setInvoker, setWorkerPoolRegistry
-
-
-
-
Constructor Detail
-
SubscriberMediator
public SubscriberMediator(MediatorConfiguration configuration)
-
-
Method Detail
-
initialize
public void initialize(Object bean)
- Overrides:
initialize
in classAbstractMediator
-
getComputedSubscriber
public org.reactivestreams.Subscriber<Message<?>> getComputedSubscriber()
- Overrides:
getComputedSubscriber
in classAbstractMediator
-
isConnected
public boolean isConnected()
- Specified by:
isConnected
in classAbstractMediator
-
connectToUpstream
public void connectToUpstream(io.smallrye.mutiny.Multi<? extends Message<?>> publisher)
- Overrides:
connectToUpstream
in classAbstractMediator
-
run
public void run()
- Overrides:
run
in classAbstractMediator
-
-