Package org.apache.cxf.ws.rm.manager
Class SourcePolicyType
java.lang.Object
org.apache.cxf.ws.rm.manager.SourcePolicyType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected AckRequestModeTypeWhen AckRequested will be included in a message being sent.protected StringAddress to which sequence acknowledgements should be sent.protected BooleanIndicates if an RM source should include an offer for an inbound sequence when issuing a createSequence request.protected IntegerThe maximum number of sequences that can be held active.protected DurationThe lifetime of an offered inbound sequence.protected RetryPolicyTypeprotected DurationPreferred lifetime of a sequence - included in createSequence requests issued by an RM source.protected SequenceTerminationPolicyType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhen AckRequested will be included in a message being sent.Address to which sequence acknowledgements should be sent.intThe maximum number of sequences that can be held active.The lifetime of an offered inbound sequence.Gets the value of the retryPolicy property.Preferred lifetime of a sequence - included in createSequence requests issued by an RM source.Gets the value of the sequenceTerminationPolicy property.booleanIndicates if an RM source should include an offer for an inbound sequence when issuing a createSequence request.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidSets the value of the ackRequestMode property.voidSets the value of the acksTo property.voidsetIncludeOffer(boolean value) Sets the value of the includeOffer property.voidsetMaxSequences(int value) Sets the value of the maxSequences property.voidSets the value of the offeredSequenceExpiration property.voidsetRetryPolicy(RetryPolicyType value) Sets the value of the retryPolicy property.voidsetSequenceExpiration(Duration value) Sets the value of the sequenceExpiration property.voidSets the value of the sequenceTerminationPolicy property.voidvoid
-
Field Details
-
sequenceTerminationPolicy
-
retryPolicy
-
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
Address to which sequence acknowledgements should be sent. If this attribute is not set, defaults to the anonymous address. -
includeOffer
Indicates if an RM source should include an offer for an inbound sequence when issuing a createSequence request. -
offeredSequenceExpiration
The lifetime of an offered inbound sequence. A default of PT0S means that the sequence never expires. -
maxSequences
The maximum number of sequences that can be held active. A value of 0 indicates there is no limit. -
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
Gets the value of the sequenceTerminationPolicy property.- Returns:
- possible object is
SequenceTerminationPolicyType
-
setSequenceTerminationPolicy
Sets the value of the sequenceTerminationPolicy property.- Parameters:
value- allowed object isSequenceTerminationPolicyType
-
isSetSequenceTerminationPolicy
public boolean isSetSequenceTerminationPolicy() -
getRetryPolicy
Gets the value of the retryPolicy property.- Returns:
- possible object is
RetryPolicyType
-
setRetryPolicy
Sets the value of the retryPolicy property.- Parameters:
value- allowed object isRetryPolicyType
-
isSetRetryPolicy
public boolean isSetRetryPolicy() -
setSequenceExpiration
Sets the value of the sequenceExpiration property.- Parameters:
value- allowed object isDuration- See Also:
-
isSetSequenceExpiration
public boolean isSetSequenceExpiration() -
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
Sets the value of the acksTo property.- Parameters:
value- allowed object isString- See Also:
-
isSetAcksTo
public boolean isSetAcksTo() -
setOfferedSequenceExpiration
Sets the value of the offeredSequenceExpiration property.- Parameters:
value- allowed object isDuration- See Also:
-
isSetOfferedSequenceExpiration
public boolean isSetOfferedSequenceExpiration() -
setAckRequestMode
Sets the value of the ackRequestMode property.- Parameters:
value- allowed object isAckRequestModeType- See Also:
-
isSetAckRequestMode
public boolean isSetAckRequestMode() -
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
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
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.
-