Class SenderProcessor
java.lang.Object
io.smallrye.reactive.messaging.providers.helpers.SenderProcessor
- All Implemented Interfaces:
Flow.Processor<Message<?>,,Message<?>> Flow.Publisher<Message<?>>,Flow.Subscriber<Message<?>>,Flow.Subscription
public class SenderProcessor
extends Object
implements Flow.Processor<Message<?>,Message<?>>, Flow.Subscription
-
Constructor Summary
ConstructorsConstructorDescriptionSenderProcessor(long inflights, boolean waitForCompletion, Function<Message<?>, io.smallrye.mutiny.Uni<Void>> send) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidvoidvoidvoidonSubscribe(Flow.Subscription subscription) voidrequest(long l) voidsubscribe(Flow.Subscriber<? super Message<?>> subscriber)
-
Constructor Details
-
SenderProcessor
-
-
Method Details
-
subscribe
- Specified by:
subscribein interfaceFlow.Publisher<Message<?>>
-
onSubscribe
- Specified by:
onSubscribein interfaceFlow.Subscriber<Message<?>>
-
onNext
- Specified by:
onNextin interfaceFlow.Subscriber<Message<?>>
-
request
public void request(long l) - Specified by:
requestin interfaceFlow.Subscription
-
cancel
public void cancel()- Specified by:
cancelin interfaceFlow.Subscription
-
onError
- Specified by:
onErrorin interfaceFlow.Subscriber<Message<?>>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceFlow.Subscriber<Message<?>>
-