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
public class InboundAcceptedImpl extends InboundAccepted
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
BasePropertySet.Accessor, BasePropertySet.PropertyMap, BasePropertySet.PropertyMapEntry
-
Nested 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 Constructor Description InboundAcceptedImpl(JaxwsApplicationMessage request, RuntimeContext rc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAccepted()longgetRMMessageNumber()StringgetRMSequenceId()voidsetAccepted(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
getPropertyMap
-
Methods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, containsKey, createEntrySet, createMapView, createView, get, mapAllowsAdditionalProperties, parse, put, remove, supports
-
-
-
-
Constructor Detail
-
InboundAcceptedImpl
public InboundAcceptedImpl(JaxwsApplicationMessage request, RuntimeContext rc)
-
-
Method Detail
-
setAccepted
public void setAccepted(Boolean accept) throws InboundAcceptedAcceptFailed
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- See Also:
InboundAccepted.ACCEPTED_PROPERTY,InboundAccepted.getAccepted()
-
getAccepted
public Boolean 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:
InboundAccepted.ACCEPTED_PROPERTY,InboundAccepted.setAccepted(java.lang.Boolean)
-
getRMSequenceId
public String 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:
InboundAccepted.RM_SEQUENCE_ID_PROPERTY
-
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:
InboundAccepted.RM_MESSAGE_NUMBER_PROPERTY
-
-