Class OrderedDeliveryAssertion

  • All Implemented Interfaces:
    RmConfigurator

    public class OrderedDeliveryAssertion
    extends com.sun.xml.ws.policy.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)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static QName NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      OrderedDeliveryAssertion​(com.sun.xml.ws.policy.sourcemodel.AssertionData data, Collection<? extends com.sun.xml.ws.policy.PolicyAssertion> assertionParameters)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static AssertionInstantiator getInstantiator()  
      boolean isCompatibleWith​(com.sun.xml.ws.rx.rm.api.RmProtocolVersion version)
      TODO javadoc
      com.sun.xml.ws.rx.rm.api.ReliableMessagingFeatureBuilder update​(com.sun.xml.ws.rx.rm.api.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
    • Field Detail

      • NAME

        public static final QName NAME
    • Constructor Detail

      • OrderedDeliveryAssertion

        public OrderedDeliveryAssertion​(com.sun.xml.ws.policy.sourcemodel.AssertionData data,
                                        Collection<? extends com.sun.xml.ws.policy.PolicyAssertion> assertionParameters)
    • Method Detail

      • update

        public com.sun.xml.ws.rx.rm.api.ReliableMessagingFeatureBuilder update​(com.sun.xml.ws.rx.rm.api.ReliableMessagingFeatureBuilder builder)
        Description copied from interface: RmConfigurator
        TODO javadoc
        Specified by:
        update in interface RmConfigurator
      • isCompatibleWith

        public boolean isCompatibleWith​(com.sun.xml.ws.rx.rm.api.RmProtocolVersion version)
        Description copied from interface: RmConfigurator
        TODO javadoc
        Specified by:
        isCompatibleWith in interface RmConfigurator