Class AllowDuplicatesAssertion

java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.policy.SimpleAssertion
com.sun.xml.ws.rx.rm.policy.metro200603.AllowDuplicatesAssertion
All Implemented Interfaces:
RmConfigurator

public class AllowDuplicatesAssertion extends com.sun.xml.ws.policy.SimpleAssertion implements RmConfigurator

 <sunc:AllowDuplicates />
 
Proprietary assertion that works with WS-RM v1.0 (WSRM200502) and enables "At Least Once" message delivery:

Each message is to be delivered at least once, or else an error MUST be raised by the RM Source and/or RM Destination. The requirement on an RM Source is that it SHOULD retry transmission of every message sent by the Application Source until it receives an acknowledgement from the RM Destination. The requirement on the RM Destination is that it SHOULD retry the transfer to the Application Destination of any message that it accepts from the RM Source, until that message has been successfully delivered. There is no requirement for the RM Destination to apply duplicate message filtering.

NOTE: this assertion has currently no effect, we treat the case the same way as "Exactly Once" delivery mode.

Author:
Marek Potociar (marek.potociar at sun.com)
  • Field Summary

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

    Constructors
    Constructor
    Description
    AllowDuplicatesAssertion(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

    • AllowDuplicatesAssertion

      public AllowDuplicatesAssertion(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