Class LegacyEmitterImpl<T>
java.lang.Object
io.smallrye.reactive.messaging.providers.extension.LegacyEmitterImpl<T>
- Type Parameters:
T- the type of payload or message
- All Implemented Interfaces:
Emitter<T>,EmitterType,MessagePublisherProvider<T>
Implementation of the old (legacy) Emitter interface.
This implementation delegates to the new implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()voidFlow.Publisher<Message<? extends T>> booleanboolean
-
Method Details
-
getPublisher
- Specified by:
getPublisherin interfaceMessagePublisherProvider<T>
-
complete
public void complete() -
error
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceEmitter<T>
-
isRequested
public boolean isRequested()- Specified by:
isRequestedin interfaceEmitter<T>
-
send
-