Class OrderedDeliveryAssertion
- java.lang.Object
-
- com.sun.xml.ws.policy.PolicyAssertion
-
- com.sun.xml.ws.policy.SimpleAssertion
-
- com.sun.xml.ws.rx.rm.policy.metro200603.OrderedDeliveryAssertion
-
- All Implemented Interfaces:
RmConfigurator
public class OrderedDeliveryAssertion extends SimpleAssertion implements RmConfigurator
Proprietary assertion that works with WS-RM v1.0 (WSRM200502) and enables "In Order" message delivery: Messages from each individual Sequence are to be delivered in the same order they have been sent by the Application Source. The requirement on an RM Source is that it MUST ensure that the ordinal position of each message in the Sequence (as indicated by a message Sequence number) is consistent with the order in which the messages have been sent from the Application Source. The requirement on the RM Destination is that it MUST deliver received messages for each Sequence in the order indicated by the message numbering. This DeliveryAssurance can be used in combination with any of the AtLeastOnce, AtMostOnce or ExactlyOnce assertions, and the requirements of those assertions MUST also be met. In particular if the AtLeastOnce or ExactlyOnce assertion applies and the RM Destination detects a gap in the Sequence then the RM Destination MUST NOT deliver any subsequent messages from that Sequence until the missing messages are received or until the Sequence is closed.- Author:
- Marek Potociar (marek.potociar at sun.com)
-
-
Constructor Summary
Constructors Constructor Description OrderedDeliveryAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssertionInstantiatorgetInstantiator()booleanisCompatibleWith(RmProtocolVersion version)TODO javadocReliableMessagingFeatureBuilderupdate(ReliableMessagingFeatureBuilder builder)TODO javadoc-
Methods inherited from class com.sun.xml.ws.policy.SimpleAssertion
getNestedPolicy, hasNestedPolicy
-
Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.xml.ws.rx.rm.policy.RmConfigurator
getName
-
-
-
-
Field Detail
-
NAME
public static final QName NAME
-
-
Constructor Detail
-
OrderedDeliveryAssertion
public OrderedDeliveryAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters)
-
-
Method Detail
-
getInstantiator
public static AssertionInstantiator getInstantiator()
-
update
public ReliableMessagingFeatureBuilder update(ReliableMessagingFeatureBuilder builder)
Description copied from interface:RmConfiguratorTODO javadoc- Specified by:
updatein interfaceRmConfigurator
-
isCompatibleWith
public boolean isCompatibleWith(RmProtocolVersion version)
Description copied from interface:RmConfiguratorTODO javadoc- Specified by:
isCompatibleWithin interfaceRmConfigurator
-
-