Module org.glassfish.metro.wsit.api
Class InboundAccepted
java.lang.Object
com.oracle.webservices.api.message.BasePropertySet
com.oracle.webservices.oracle_internal_api.rm.InboundAccepted
- All Implemented Interfaces:
com.oracle.webservices.api.message.PropertySet
public abstract class InboundAccepted
extends com.oracle.webservices.api.message.BasePropertySet
InboundAccepted is created by the RMD.
It is passed as a
PropertySet to
com.oracle.webservices.api.disi.ProviderRequest#request.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
com.oracle.webservices.api.message.BasePropertySet.Accessor, com.oracle.webservices.api.message.BasePropertySet.PropertyMap, com.oracle.webservices.api.message.BasePropertySet.PropertyMapEntryNested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
com.oracle.webservices.api.message.PropertySet.Property -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Booleanprotected com.oracle.webservices.api.message.BasePropertySet.PropertyMapabstract longabstract Stringabstract 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.api.message.BasePropertySet
asMap, containsKey, createEntrySet, createView, get, mapAllowsAdditionalProperties, parse, parse, put, remove, supports
-
Field Details
-
ACCEPTED_PROPERTY
Key for accepted property- See Also:
-
RM_SEQUENCE_ID_PROPERTY
Key for inbound RM sequence id- See Also:
-
RM_MESSAGE_NUMBER_PROPERTY
Key for inbound RM message number- See Also:
-
-
Constructor Details
-
InboundAccepted
protected InboundAccepted()Default constructor.
-
-
Method Details
-
getAccepted
- Returns:
- the value set via
setAccepted(java.lang.Boolean)ornullifsetAccepted(java.lang.Boolean)has not been called or if the call tosetAccepted(java.lang.Boolean)resulted inInboundAcceptedAcceptFailedbeing thrown. - See Also:
-
setAccepted
When 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.- 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:
-
getRMSequenceId
- Returns:
- The RM sequence id associated with the message.
Note: it may be
nullif RM is not enabled. - See Also:
-
getRMMessageNumber
public abstract long getRMMessageNumber()- Returns:
- The RM message number associated with the message.
Note: it may be
-1if RM is not enabled. - See Also:
-
getPropertyMap
protected com.oracle.webservices.api.message.BasePropertySet.PropertyMap getPropertyMap()- Specified by:
getPropertyMapin classcom.oracle.webservices.api.message.BasePropertySet
-