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 com.sun.xml.ws.policy.SimpleAssertion implements RmConfigurator

 <sunc:Ordered />
 
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 final QName
     
  • 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

    Modifier and Type
    Method
    Description
     
    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

    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 Details

    • NAME

      public static final QName NAME
  • Constructor Details

    • OrderedDeliveryAssertion

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

    • getInstantiator

      public static AssertionInstantiator getInstantiator()
    • 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