Class MessageAddressingProperties
java.lang.Object
org.springframework.ws.soap.addressing.core.MessageAddressingProperties
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionMessageAddressingProperties
(URI to, EndpointReference from, EndpointReference replyTo, EndpointReference faultTo, URI action, URI messageId) Constructs a newMessageAddressingProperties
with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the action property.Returns the value of the fault endpoint property.getFrom()
Returns the value of the source endpoint property.Returns the value of the message id property.Returns the endpoint parameters.Returns the endpoint properties.Returns the value of the relationship property.getReplyProperties
(EndpointReference epr, URI action, URI messageId) Creates aMessageAddressingProperties
that can be used for creating a reply to the givenEndpointReference
.Returns the value of the reply endpoint property.getTo()
Returns the value of the destination property.
-
Constructor Details
-
MessageAddressingProperties
public MessageAddressingProperties(URI to, EndpointReference from, EndpointReference replyTo, EndpointReference faultTo, URI action, URI messageId) Constructs a newMessageAddressingProperties
with the given parameters.- Parameters:
to
- the value of the destination propertyfrom
- the value of the source endpoint propertyreplyTo
- the value of the reply endpoint propertyfaultTo
- the value of the fault endpoint propertyaction
- the value of the action propertymessageId
- the value of the message id property
-
-
Method Details
-
getTo
Returns the value of the destination property. -
getFrom
Returns the value of the source endpoint property. -
getReplyTo
Returns the value of the reply endpoint property. -
getFaultTo
Returns the value of the fault endpoint property. -
getAction
Returns the value of the action property. -
getMessageId
Returns the value of the message id property. -
getRelatesTo
Returns the value of the relationship property. -
getReferenceProperties
Returns the endpoint properties. Returns an empty list of none are set. -
getReferenceParameters
Returns the endpoint parameters. Returns an empty list of none are set. -
getReplyProperties
public MessageAddressingProperties getReplyProperties(EndpointReference epr, URI action, URI messageId) Creates aMessageAddressingProperties
that can be used for creating a reply to the givenEndpointReference
. Thedestination
property will be populated with theaddress
of the given EPR, and therelationship
property will be set to themessage id
property of this instance. the action is specified, the- Parameters:
epr
- the endpoint reference to create a reply toaction
- the action
-