com.sun.xml.ws.rx.rm.policy.metro200603
Class OrderedDeliveryAssertion

java.lang.Object
  extended by com.sun.xml.ws.policy.PolicyAssertion
      extended by com.sun.xml.ws.policy.SimpleAssertion
          extended by 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)

Field Summary
static QName NAME
           
 
Constructor Summary
OrderedDeliveryAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters)
           
 
Method Summary
static AssertionInstantiator getInstantiator()
           
 boolean isCompatibleWith(RmProtocolVersion version)
          TODO javadoc
 ReliableMessagingFeatureBuilder update(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: RmConfigurator
TODO javadoc

Specified by:
update in interface RmConfigurator

isCompatibleWith

public boolean isCompatibleWith(RmProtocolVersion version)
Description copied from interface: RmConfigurator
TODO javadoc

Specified by:
isCompatibleWith in interface RmConfigurator


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.