AmqpAnnotatedMessage Class
- java.
lang. Object - com.
azure. core. amqp. models. AmqpAnnotatedMessage
- com.
public final class AmqpAnnotatedMessage
The representation of message as defined by AMQP protocol.
Constructor Summary
Constructor | Description |
---|---|
AmqpAnnotatedMessage(AmqpMessageBody body) |
Creates instance of AmqpAnnotatedMessage with given AmqpMessageBody. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getApplicationProperties()
Gets the Map of application properties. |
Amqp |
getBody()
Gets the AmqpMessageBody of an amqp message. |
Map<String,Object> |
getDeliveryAnnotations()
Gets the Map representation of delivery annotations defined on an amqp message. |
Map<String,Object> |
getFooter()
Gets the Map representation of footer defined on an amqp message. |
Amqp |
getHeader()
Gets the AmqpMessageHeader defined on an amqp message. |
Map<String,Object> |
getMessageAnnotations()
Gets the Map representation of message annotations defined on an amqp message. |
Amqp |
getProperties()
Gets the AmqpMessageProperties defined on an amqp message. |
Methods inherited from java.lang.Object
Constructor Details
AmqpAnnotatedMessage
public AmqpAnnotatedMessage(AmqpMessageBody body)
Creates instance of AmqpAnnotatedMessage with given AmqpMessageBody.
Parameters:
Method Details
getApplicationProperties
public Map
Gets the Map of application properties.
Returns:
getBody
public AmqpMessageBody getBody()
Gets the AmqpMessageBody of an amqp message.
Returns:
getDeliveryAnnotations
public Map
Gets the Map representation of delivery annotations defined on an amqp message.
Returns:
getFooter
public Map
Gets the Map representation of footer defined on an amqp message.
Returns:
getHeader
public AmqpMessageHeader getHeader()
Gets the AmqpMessageHeader defined on an amqp message.
Returns:
getMessageAnnotations
public Map
Gets the Map representation of message annotations defined on an amqp message.
Returns:
getProperties
public AmqpMessageProperties getProperties()
Gets the AmqpMessageProperties defined on an amqp message.
Returns:
Applies to
Azure SDK for Java