Class OutgoingAmqpMessage<T>
- java.lang.Object
-
- io.smallrye.reactive.messaging.amqp.AmqpMessage<T>
-
- io.smallrye.reactive.messaging.amqp.OutgoingAmqpMessage<T>
-
- All Implemented Interfaces:
Message<T>
public class OutgoingAmqpMessage<T> extends AmqpMessage<T> implements Message<T>
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.amqp.AmqpMessage
APPLICATION_JSON, message
-
-
Constructor Summary
Constructors Constructor Description OutgoingAmqpMessage(io.vertx.mutiny.amqp.AmqpMessage message, OutgoingAmqpMetadata amqpMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Void>
ack()
Acknowledge this message.String
getAddress()
io.vertx.core.json.JsonObject
getApplicationProperties()
String
getContentEncoding()
String
getContentType()
Object
getCorrelationId()
String
getGroupId()
Object
getMessageId()
Metadata
getMetadata()
int
getPriority()
String
getSubject()
long
getTtl()
boolean
isDurable()
-
Methods inherited from class io.smallrye.reactive.messaging.amqp.AmqpMessage
builder, getAmqpMessage, getBody, getCreationTime, getDeliveryCount, getError, getExpiryTime, getGroupSequence, getHeader, getPayload, 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, getPayload, unwrap, withAck, withMetadata, withMetadata, withPayload
-
-
-
-
Constructor Detail
-
OutgoingAmqpMessage
public OutgoingAmqpMessage(io.vertx.mutiny.amqp.AmqpMessage message, OutgoingAmqpMetadata amqpMetadata)
-
-
Method Detail
-
getMetadata
public Metadata getMetadata()
- Specified by:
getMetadata
in interfaceMessage<T>
- Overrides:
getMetadata
in classAmqpMessage<T>
- Returns:
- The set of metadata attached to this message, potentially empty.
-
isDurable
public boolean isDurable()
- Overrides:
isDurable
in classAmqpMessage<T>
-
getPriority
public int getPriority()
- Overrides:
getPriority
in classAmqpMessage<T>
-
getTtl
public long getTtl()
- Overrides:
getTtl
in classAmqpMessage<T>
-
getMessageId
public Object getMessageId()
- Overrides:
getMessageId
in classAmqpMessage<T>
-
getAddress
public String getAddress()
- Overrides:
getAddress
in classAmqpMessage<T>
-
getGroupId
public String getGroupId()
- Overrides:
getGroupId
in classAmqpMessage<T>
-
getContentType
public String getContentType()
- Overrides:
getContentType
in classAmqpMessage<T>
-
getCorrelationId
public Object getCorrelationId()
- Overrides:
getCorrelationId
in classAmqpMessage<T>
-
getContentEncoding
public String getContentEncoding()
- Overrides:
getContentEncoding
in classAmqpMessage<T>
-
getSubject
public String getSubject()
- Overrides:
getSubject
in classAmqpMessage<T>
-
ack
public CompletionStage<Void> ack()
Description copied from interface:Message
Acknowledge this message.
-
getApplicationProperties
public io.vertx.core.json.JsonObject getApplicationProperties()
- Overrides:
getApplicationProperties
in classAmqpMessage<T>
-
-