Class SourcePolicyType

java.lang.Object
org.apache.cxf.ws.rm.manager.SourcePolicyType

public class SourcePolicyType extends Object
RM source configuration properties. Used for configuring an RM source.

Java class for SourcePolicyType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="SourcePolicyType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="sequenceTerminationPolicy" type="{http://cxf.apache.org/ws/rm/manager}SequenceTerminationPolicyType" minOccurs="0"/>
         <element name="retryPolicy" type="{http://cxf.apache.org/ws/rm/manager}RetryPolicyType" minOccurs="0"/>
       </sequence>
       <attribute name="sequenceExpiration" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT0S" />
       <attribute name="acksTo" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="includeOffer" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="offeredSequenceExpiration" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT0S" />
       <attribute name="maxSequences" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
       <attribute name="ackRequestMode" type="{http://cxf.apache.org/ws/rm/manager}AckRequestModeType" default="pending" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • sequenceTerminationPolicy

      protected SequenceTerminationPolicyType sequenceTerminationPolicy
    • retryPolicy

      protected RetryPolicyType retryPolicy
    • sequenceExpiration

      protected Duration sequenceExpiration
      Preferred lifetime of a sequence - included in createSequence requests issued by an RM source. A default of PT0S means that the sequence should never expire.
    • acksTo

      protected String acksTo
      Address to which sequence acknowledgements should be sent. If this attribute is not set, defaults to the anonymous address.
    • includeOffer

      protected Boolean includeOffer
      Indicates if an RM source should include an offer for an inbound sequence when issuing a createSequence request.
    • offeredSequenceExpiration

      protected Duration offeredSequenceExpiration
      The lifetime of an offered inbound sequence. A default of PT0S means that the sequence never expires.
    • maxSequences

      protected Integer maxSequences
      The maximum number of sequences that can be held active. A value of 0 indicates there is no limit.
    • ackRequestMode

      protected AckRequestModeType ackRequestMode
      When AckRequested will be included in a message being sent. The default value "pending" means AckRequested will only be included when a previously-send message is waiting for acknowledgement.
  • Constructor Details

    • SourcePolicyType

      public SourcePolicyType()
  • Method Details

    • getSequenceTerminationPolicy

      public SequenceTerminationPolicyType getSequenceTerminationPolicy()
      Gets the value of the sequenceTerminationPolicy property.
      Returns:
      possible object is SequenceTerminationPolicyType
    • setSequenceTerminationPolicy

      public void setSequenceTerminationPolicy(SequenceTerminationPolicyType value)
      Sets the value of the sequenceTerminationPolicy property.
      Parameters:
      value - allowed object is SequenceTerminationPolicyType
    • isSetSequenceTerminationPolicy

      public boolean isSetSequenceTerminationPolicy()
    • getRetryPolicy

      public RetryPolicyType getRetryPolicy()
      Gets the value of the retryPolicy property.
      Returns:
      possible object is RetryPolicyType
    • setRetryPolicy

      public void setRetryPolicy(RetryPolicyType value)
      Sets the value of the retryPolicy property.
      Parameters:
      value - allowed object is RetryPolicyType
    • isSetRetryPolicy

      public boolean isSetRetryPolicy()
    • setSequenceExpiration

      public void setSequenceExpiration(Duration value)
      Sets the value of the sequenceExpiration property.
      Parameters:
      value - allowed object is Duration
      See Also:
    • isSetSequenceExpiration

      public boolean isSetSequenceExpiration()
    • getAcksTo

      public String getAcksTo()
      Address to which sequence acknowledgements should be sent. If this attribute is not set, defaults to the anonymous address.
      Returns:
      possible object is String
    • setAcksTo

      public void setAcksTo(String value)
      Sets the value of the acksTo property.
      Parameters:
      value - allowed object is String
      See Also:
    • isSetAcksTo

      public boolean isSetAcksTo()
    • setOfferedSequenceExpiration

      public void setOfferedSequenceExpiration(Duration value)
      Sets the value of the offeredSequenceExpiration property.
      Parameters:
      value - allowed object is Duration
      See Also:
    • isSetOfferedSequenceExpiration

      public boolean isSetOfferedSequenceExpiration()
    • setAckRequestMode

      public void setAckRequestMode(AckRequestModeType value)
      Sets the value of the ackRequestMode property.
      Parameters:
      value - allowed object is AckRequestModeType
      See Also:
    • isSetAckRequestMode

      public boolean isSetAckRequestMode()
    • getSequenceExpiration

      public Duration getSequenceExpiration()
      Preferred lifetime of a sequence - included in createSequence requests issued by an RM source. A default of PT0S means that the sequence should never expire.
    • setIncludeOffer

      public void setIncludeOffer(boolean value)
      Sets the value of the includeOffer property.
    • unsetIncludeOffer

      public void unsetIncludeOffer()
    • isSetIncludeOffer

      public boolean isSetIncludeOffer()
    • isIncludeOffer

      public boolean isIncludeOffer()
      Indicates if an RM source should include an offer for an inbound sequence when issuing a createSequence request.
    • getOfferedSequenceExpiration

      public Duration getOfferedSequenceExpiration()
      The lifetime of an offered inbound sequence. A default of PT0S means that the sequence never expires.
    • setMaxSequences

      public void setMaxSequences(int value)
      Sets the value of the maxSequences property.
    • unsetMaxSequences

      public void unsetMaxSequences()
    • isSetMaxSequences

      public boolean isSetMaxSequences()
    • getMaxSequences

      public int getMaxSequences()
      The maximum number of sequences that can be held active. A value of 0 indicates there is no limit.
    • getAckRequestMode

      public AckRequestModeType getAckRequestMode()
      When AckRequested will be included in a message being sent. The default value "pending" means AckRequested will only be included when a previously-send message is waiting for acknowledgement.