Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
ack()
Acknowledge this message.
|
Supplier<CompletionStage<Void>> |
getAck() |
String |
getAddress() |
Optional<String> |
getHeader(String key) |
List<String> |
getHeaders(String key) |
T |
getPayload() |
Optional<String> |
getReplyAddress() |
io.vertx.core.eventbus.Message<T> |
unwrap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMetadata, getMetadata, getMetadata, getNack, nack, of, of, of, of, of, of, of, of, of, unwrap, withAck, withMetadata, withMetadata, withNack, withPayload
public CompletionStage<Void> ack()
Message
public T getPayload()
getPayload
in interface Message<T>
public String getAddress()
public io.vertx.core.eventbus.Message<T> unwrap()
public Supplier<CompletionStage<Void>> getAck()
getAck
in interface Message<T>
CompletionStage
.Copyright © 2018–2021 SmallRye. All rights reserved.