public class AmqpMessage<T> extends Object implements Message<T>
Modifier and Type | Field and Description |
---|---|
protected IncomingAmqpMetadata |
amqpMetadata |
protected static String |
APPLICATION_JSON |
protected io.vertx.amqp.AmqpMessage |
message |
protected Metadata |
metadata |
Constructor and Description |
---|
AmqpMessage(io.vertx.mutiny.amqp.AmqpMessage delegate) |
AmqpMessage(io.vertx.amqp.AmqpMessage msg) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
ack()
Acknowledge this message.
|
static <T> AmqpMessageBuilder<T> |
builder() |
String |
getAddress() |
io.vertx.mutiny.amqp.AmqpMessage |
getAmqpMessage() |
io.vertx.core.json.JsonObject |
getApplicationProperties() |
org.apache.qpid.proton.amqp.messaging.Section |
getBody() |
String |
getContentEncoding() |
String |
getContentType() |
Object |
getCorrelationId() |
long |
getCreationTime() |
long |
getDeliveryCount() |
org.apache.qpid.proton.message.MessageError |
getError() |
long |
getExpiryTime() |
String |
getGroupId() |
long |
getGroupSequence() |
org.apache.qpid.proton.amqp.messaging.Header |
getHeader() |
Object |
getMessageId() |
Metadata |
getMetadata() |
T |
getPayload() |
int |
getPriority() |
String |
getSubject() |
long |
getTtl() |
boolean |
isDurable() |
org.apache.qpid.proton.message.Message |
unwrap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMetadata, getAck, getMetadata, of, of, of, of, of, of, unwrap, withAck, withMetadata, withMetadata, withPayload
protected static final String APPLICATION_JSON
protected final io.vertx.amqp.AmqpMessage message
protected final Metadata metadata
protected final IncomingAmqpMetadata amqpMetadata
public AmqpMessage(io.vertx.mutiny.amqp.AmqpMessage delegate)
public AmqpMessage(io.vertx.amqp.AmqpMessage msg)
public static <T> AmqpMessageBuilder<T> builder()
public CompletionStage<Void> ack()
Message
public T getPayload()
getPayload
in interface Message<T>
public Metadata getMetadata()
getMetadata
in interface Message<T>
public org.apache.qpid.proton.message.Message unwrap()
public boolean isDurable()
public long getDeliveryCount()
public int getPriority()
public long getTtl()
public Object getMessageId()
public long getGroupSequence()
public long getCreationTime()
public String getAddress()
public String getGroupId()
public String getContentType()
public long getExpiryTime()
public Object getCorrelationId()
public String getContentEncoding()
public String getSubject()
public org.apache.qpid.proton.amqp.messaging.Header getHeader()
public io.vertx.core.json.JsonObject getApplicationProperties()
public org.apache.qpid.proton.amqp.messaging.Section getBody()
public org.apache.qpid.proton.message.MessageError getError()
public io.vertx.mutiny.amqp.AmqpMessage getAmqpMessage()
Copyright © 2018–2020 SmallRye. All rights reserved.