Class AMQPStandardMessage

  • All Implemented Interfaces:
    Message

    public class AMQPStandardMessage
    extends AMQPMessage
    • Field Detail

      • data

        protected org.apache.qpid.proton.codec.ReadableBuffer data
    • Constructor Detail

      • AMQPStandardMessage

        public AMQPStandardMessage​(long messageFormat,
                                   byte[] data,
                                   org.apache.activemq.artemis.utils.collections.TypedProperties extraProperties)
        Creates a new AMQPStandardMessage instance from binary encoded message data.
        Parameters:
        messageFormat - The Message format tag given the in Transfer that carried this message
        data - The encoded AMQP message
        extraProperties - Broker specific extra properties that should be carried with this message
      • AMQPStandardMessage

        public AMQPStandardMessage​(long messageFormat,
                                   byte[] data,
                                   org.apache.activemq.artemis.utils.collections.TypedProperties extraProperties,
                                   org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)
        Creates a new AMQPStandardMessage instance from binary encoded message data.
        Parameters:
        messageFormat - The Message format tag given the in Transfer that carried this message
        data - The encoded AMQP message
        extraProperties - Broker specific extra properties that should be carried with this message
        coreMessageObjectPools - Object pool used to accelerate some String operations.
      • AMQPStandardMessage

        public AMQPStandardMessage​(long messageFormat,
                                   org.apache.qpid.proton.codec.ReadableBuffer data,
                                   org.apache.activemq.artemis.utils.collections.TypedProperties extraProperties,
                                   org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools coreMessageObjectPools)
        Creates a new AMQPStandardMessage instance from binary encoded message data.
        Parameters:
        messageFormat - The Message format tag given the in Transfer that carried this message
        data - The encoded AMQP message in an ReadableBuffer wrapper.
        extraProperties - Broker specific extra properties that should be carried with this message
        coreMessageObjectPools - Object pool used to accelerate some String operations.