Class AMQPMessage

java.lang.Object
org.apache.activemq.artemis.api.core.RefCountMessage
org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage
All Implemented Interfaces:
Message
Direct Known Subclasses:
AMQPLargeMessage, AMQPStandardMessage

public abstract class AMQPMessage extends RefCountMessage implements Message
See AMQP v1.0 message format

                                                     Bare Message
                                                           |
                                     .---------------------+--------------------.
                                     |                                          |
+--------+-------------+-------------+------------+--------------+--------------+--------+
| header | delivery-   | message-    | properties | application- | application- | footer |
|        | annotations | annotations |            | properties   | data         |        |
+--------+-------------+-------------+------------+--------------+--------------+--------+
|                                                                                        |
'-------------------------------------------+--------------------------------------------'
                                            |
                                     Annotated Message
  • Zero or one header sections.
  • Zero or one delivery-annotation sections.
  • Zero or one message-annotation sections.
  • Zero or one properties sections.
  • Zero or one application-properties sections.
  • The body consists of one of the following three choices:
    • one or more data sections
    • one or more amqp-sequence sections
    • or a single amqp-value section.
  • Zero or one footer sections.