Class EventBusMessage<T>
- java.lang.Object
-
- io.smallrye.reactive.messaging.eventbus.EventBusMessage<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Void>
ack()
Acknowledge this message.String
getAddress()
Optional<String>
getHeader(String key)
List<String>
getHeaders(String key)
T
getPayload()
Optional<String>
getReplyAddress()
io.vertx.core.eventbus.Message<T>
unwrap()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.microprofile.reactive.messaging.Message
addMetadata, getAck, getMetadata, getMetadata, getNack, nack, unwrap, withAck, withMetadata, withMetadata, withNack, withPayload
-
-
-
-
Method Detail
-
ack
public CompletionStage<Void> ack()
Description copied from interface:Message
Acknowledge this message.
-
getPayload
public T getPayload()
- Specified by:
getPayload
in interfaceMessage<T>
- Returns:
- The payload for this message.
-
getAddress
public String getAddress()
-
unwrap
public io.vertx.core.eventbus.Message<T> unwrap()
-
-