Package io.smallrye.reactive.messaging
Class SubscriberMediator
- java.lang.Object
-
- io.smallrye.reactive.messaging.AbstractMediator
-
- io.smallrye.reactive.messaging.SubscriberMediator
-
public class SubscriberMediator extends AbstractMediator
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.AbstractMediator
configuration, workerPoolRegistry
-
-
Constructor Summary
Constructors Constructor Description SubscriberMediator(MediatorConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectToUpstream(org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> publisher)
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<Message<?>,Void>
getComputedSubscriber()
void
initialize(Object bean)
boolean
isConnected()
void
run()
-
Methods inherited from class io.smallrye.reactive.messaging.AbstractMediator
configuration, decorate, getAckOrCompletion, getConfiguration, getMethodAsString, getStream, invoke, invokeBlocking, managePreProcessingAck, setDecorators, setInvoker, setWorkerPoolRegistry
-
-
-
-
Constructor Detail
-
SubscriberMediator
public SubscriberMediator(MediatorConfiguration configuration)
-
-
Method Detail
-
initialize
public void initialize(Object bean)
- Overrides:
initialize
in classAbstractMediator
-
getComputedSubscriber
public org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<Message<?>,Void> getComputedSubscriber()
- Overrides:
getComputedSubscriber
in classAbstractMediator
-
isConnected
public boolean isConnected()
- Specified by:
isConnected
in classAbstractMediator
-
connectToUpstream
public void connectToUpstream(org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> publisher)
- Overrides:
connectToUpstream
in classAbstractMediator
-
run
public void run()
- Overrides:
run
in classAbstractMediator
-
-