Class MessageAddressingProperties

java.lang.Object
org.springframework.ws.soap.addressing.core.MessageAddressingProperties
All Implemented Interfaces:
Serializable

public final class MessageAddressingProperties extends Object implements Serializable
Represents a set of Message Addressing Properties, as defined in the WS-Addressing specification.

In earlier versions of the spec, these properties were called Message Information Headers.

Since:
1.5.0
Author:
Arjen Poutsma
See Also:
  • Constructor Details

    • MessageAddressingProperties

      public MessageAddressingProperties(URI to, EndpointReference from, EndpointReference replyTo, EndpointReference faultTo, URI action, URI messageId)
      Constructs a new MessageAddressingProperties with the given parameters.
      Parameters:
      to - the value of the destination property
      from - the value of the source endpoint property
      replyTo - the value of the reply endpoint property
      faultTo - the value of the fault endpoint property
      action - the value of the action property
      messageId - the value of the message id property
  • Method Details

    • getTo

      public URI getTo()
      Returns the value of the destination property.
    • getFrom

      public EndpointReference getFrom()
      Returns the value of the source endpoint property.
    • getReplyTo

      public EndpointReference getReplyTo()
      Returns the value of the reply endpoint property.
    • getFaultTo

      public EndpointReference getFaultTo()
      Returns the value of the fault endpoint property.
    • getAction

      public URI getAction()
      Returns the value of the action property.
    • getMessageId

      public URI getMessageId()
      Returns the value of the message id property.
    • getRelatesTo

      public URI getRelatesTo()
      Returns the value of the relationship property.
    • getReferenceProperties

      public List<Node> getReferenceProperties()
      Returns the endpoint properties. Returns an empty list of none are set.
    • getReferenceParameters

      public List<Node> getReferenceParameters()
      Returns the endpoint parameters. Returns an empty list of none are set.
    • getReplyProperties

      public MessageAddressingProperties getReplyProperties(EndpointReference epr, URI action, URI messageId)
      Creates a MessageAddressingProperties that can be used for creating a reply to the given EndpointReference. The destination property will be populated with the address of the given EPR, and the relationship property will be set to the message id property of this instance. the action is specified, the
      Parameters:
      epr - the endpoint reference to create a reply to
      action - the action