Package com.sun.xml.ws.rx.rm.runtime
Class InboundAcceptedImpl
java.lang.Object
com.oracle.webservices.api.message.BasePropertySet
com.oracle.webservices.oracle_internal_api.rm.InboundAccepted
com.sun.xml.ws.rx.rm.runtime.InboundAcceptedImpl
- All Implemented Interfaces:
PropertySet
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
BasePropertySet.Accessor, BasePropertySet.PropertyMap, BasePropertySet.PropertyMapEntryNested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
PropertySet.Property -
Field Summary
Fields inherited from class com.oracle.webservices.oracle_internal_api.rm.InboundAccepted
ACCEPTED_PROPERTY, RM_MESSAGE_NUMBER_PROPERTY, RM_SEQUENCE_ID_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongvoidsetAccepted(Boolean accept) When the user determines that the message has been delivered to them then they call#setAccepted(true).Methods inherited from class com.oracle.webservices.oracle_internal_api.rm.InboundAccepted
getPropertyMapMethods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createEntrySet, createMapView, createView, get, mapAllowsAdditionalProperties, parse, parse, put, remove, supports
-
Constructor Details
-
InboundAcceptedImpl
-
-
Method Details
-
setAccepted
Description copied from class:InboundAcceptedWhen the user determines that the message has been delivered to them then they call
#setAccepted(true).The RMD will not acknowledge the message to the RMS until
#setAccepted(true)is called.If the user calls
#setAccepted(false)then the RMD will not acknowledge the delivery of this particular request. Note: if the RMS sends a retry, that is considered a new request and the delivery/acceptance process starts anew.If the user calls
#setAccepted(false)and an atomic transaction is being used to handle the message, then that transaction will be rolled back.- Specified by:
setAcceptedin classInboundAccepted- Throws:
InboundAcceptedAcceptFailed- If the user calls#accepted(true)but the RMD is not able to internally record the message as delivered (e.g., an atomic transaction fails to commit) then this exception is thrown.- See Also:
-
getAccepted
- Specified by:
getAcceptedin classInboundAccepted- Returns:
- the value set via
InboundAccepted.setAccepted(java.lang.Boolean)ornullifInboundAccepted.setAccepted(java.lang.Boolean)has not been called or if the call toInboundAccepted.setAccepted(java.lang.Boolean)resulted inInboundAcceptedAcceptFailedbeing thrown. - See Also:
-
getRMSequenceId
- Specified by:
getRMSequenceIdin classInboundAccepted- Returns:
- The RM sequence id associated with the message.
Note: it may be
nullif RM is not enabled. - See Also:
-
getRMMessageNumber
public long getRMMessageNumber()- Specified by:
getRMMessageNumberin classInboundAccepted- Returns:
- The RM message number associated with the message.
Note: it may be
-1if RM is not enabled. - See Also:
-