Class Modified

  • All Implemented Interfaces:
    DeliveryStateIF, OutcomeIF

    public class Modified
    extends AMQPList
    implements DeliveryStateIF, OutcomeIF

    At the source the modified outcome means that the message is no longer acquired by the receiver, and has been made available for (re-)delivery to the same or other targets receiving from the node. The message has been changed at the node in the ways indicated by the fields of the outcome. As modified is a terminal outcome, transfer of payload data will not be able to be resumed if the link becomes suspended. A delivery may become modified at the source even before all transfer frames have been sent. This does not imply that the remaining transfers for the delivery will not be sent. The source MAY spontaneously attain the modified outcome for a message (for example the source may implement some sort of time-bound acquisition lock, after which the acquisition of a message at a node is revoked to allow for delivery to an alternative consumer with the message modified in some way to denote the previous failed, e.g., with delivery-failed set to true).

    At the target, the modified outcome is used to indicate that a given transfer was not and will not be acted upon, and that the message should be modified in the specified ways at the node.

    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

      • Modified

        public Modified​(java.util.List initValue)
                 throws java.lang.Exception
        Constructs a Modified.
        Parameters:
        initValue - initial value
        Throws:
        error - during initialization
        java.lang.Exception
      • Modified

        public Modified()
        Constructs a Modified.
    • Method Detail

      • hasDescriptor

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

        public void accept​(OutcomeVisitor visitor)
        Accept method for a Outcome visitor.
        Specified by:
        accept in interface OutcomeIF
        Parameters:
        visitor - Outcome visitor
      • getDeliveryFailed

        public AMQPBoolean getDeliveryFailed()
        Returns the optional DeliveryFailed field.
        Returns:
        DeliveryFailed
      • setDeliveryFailed

        public void setDeliveryFailed​(AMQPBoolean deliveryFailed)
        Sets the optional DeliveryFailed field.
        Parameters:
        deliveryFailed - DeliveryFailed
      • getUndeliverableHere

        public AMQPBoolean getUndeliverableHere()
        Returns the optional UndeliverableHere field.
        Returns:
        UndeliverableHere
      • setUndeliverableHere

        public void setUndeliverableHere​(AMQPBoolean undeliverableHere)
        Sets the optional UndeliverableHere field.
        Parameters:
        undeliverableHere - UndeliverableHere
      • getMessageAnnotations

        public Fields getMessageAnnotations()
        Returns the optional MessageAnnotations field.
        Returns:
        MessageAnnotations
      • setMessageAnnotations

        public void setMessageAnnotations​(Fields messageAnnotations)
        Sets the optional MessageAnnotations field.
        Parameters:
        messageAnnotations - MessageAnnotations
      • getArrayConstructor

        public AMQPDescribedConstructor getArrayConstructor()
                                                     throws java.io.IOException
        Returns an array constructor (internal use)
        Returns:
        array constructor
        Throws:
        java.io.IOException
      • 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 AMQPList
        Parameters:
        out - DataOutput
        Throws:
        java.io.IOException - on error
      • toString

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