Class DeliveryAnnotations

  • All Implemented Interfaces:
    SectionIF

    public class DeliveryAnnotations
    extends Annotations
    implements SectionIF

    The delivery-annotations section is used for delivery-specific non-standard properties at the head of the message. Delivery annotations convey information from the sending peer to the receiving peer. If the recipient does not understand the annotation it cannot be acted upon and its effects (such as any implied propagation) cannot be acted upon. Annotations may be specific to one implementation, or common to multiple implementations. The capabilities negotiated on link and on the and should be used to establish which annotations a peer supports. A registry of defined annotations and their meanings is maintained [ AMQPDELANN ]. The symbolic key "rejected" is reserved for the use of communicating error information regarding rejected messages. Any values associated with the "rejected" key MUST be of type .

    If the delivery-annotations section is omitted, it is equivalent to a delivery-annotations section containing an empty map of annotations.

    Version:
    AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
    Author:
    IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
    • Constructor Detail

      • DeliveryAnnotations

        public DeliveryAnnotations​(java.util.Map initValue)
                            throws java.io.IOException
        Constructs a DeliveryAnnotations.
        Parameters:
        initValue - initial value
        Throws:
        error - during initialization
        java.io.IOException
    • Method Detail

      • accept

        public void accept​(SectionVisitor visitor)
        Accept method for a Section visitor.
        Specified by:
        accept in interface SectionIF
        Parameters:
        visitor - Section visitor
      • hasDescriptor

        public boolean hasDescriptor()
        Return whether this DeliveryAnnotations has a descriptor
        Overrides:
        hasDescriptor in class AMQPType
        Returns:
        true/false
      • writeContent

        public void writeContent​(java.io.DataOutput out)
                          throws java.io.IOException
        Description copied from class: AMQPType
        Write the content of this type to a DataOutput.
        Overrides:
        writeContent in class AMQPMap
        Parameters:
        out - DataOutput
        Throws:
        java.io.IOException - on error