Class ApplicationProperties

  • All Implemented Interfaces:
    SectionIF

    public class ApplicationProperties
    extends AMQPMap
    implements SectionIF

    The application-properties section is a part of the bare message used for structured application data. Intermediaries may use the data within this structure for the purposes of filtering or routing.

    The keys of this map are restricted to be of type (which excludes the possibility of a null key) and the values are restricted to be of simple types only, that is, excluding , , and types.

    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

      • ApplicationProperties

        public ApplicationProperties​(java.util.Map initValue)
                              throws java.io.IOException
        Constructs a ApplicationProperties.
        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 ApplicationProperties 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class AMQPMap