Class InboundAccepted
- java.lang.Object
-
- com.oracle.webservices.api.message.BasePropertySet
-
- com.oracle.webservices.oracle_internal_api.rm.InboundAccepted
-
- All Implemented Interfaces:
PropertySet
- Direct Known Subclasses:
InboundAcceptedImpl
public abstract class InboundAccepted extends BasePropertySet
InboundAcceptedis created by the RMD.It is passed as a
PropertySettocom.oracle.webservices.api.disi.ProviderRequest#request.
-
-
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 Modifier and Type Field Description static StringACCEPTED_PROPERTYKey for accepted propertystatic StringRM_MESSAGE_NUMBER_PROPERTYKey for inbound RM message numberstatic StringRM_SEQUENCE_ID_PROPERTYKey for inbound RM sequence id
-
Constructor Summary
Constructors Constructor Description InboundAccepted()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BooleangetAccepted()protected BasePropertySet.PropertyMapgetPropertyMap()Map representing the Fields and Methods annotated withPropertySet.Property.abstract longgetRMMessageNumber()abstract StringgetRMSequenceId()abstract 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, createMapView, createView, get, mapAllowsAdditionalProperties, parse, put, remove, supports
-
-
-
-
Field Detail
-
ACCEPTED_PROPERTY
public static final String ACCEPTED_PROPERTY
Key for accepted property
-
RM_SEQUENCE_ID_PROPERTY
public static final String RM_SEQUENCE_ID_PROPERTY
Key for inbound RM sequence id- See Also:
getRMSequenceId(), Constant Field Values
-
RM_MESSAGE_NUMBER_PROPERTY
public static final String RM_MESSAGE_NUMBER_PROPERTY
Key for inbound RM message number- See Also:
getRMMessageNumber(), Constant Field Values
-
-
Method Detail
-
getAccepted
public abstract Boolean 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:
ACCEPTED_PROPERTY,setAccepted(java.lang.Boolean)
-
setAccepted
public abstract void setAccepted(Boolean accept) throws InboundAcceptedAcceptFailed
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- See Also:
ACCEPTED_PROPERTY,getAccepted()
-
getRMSequenceId
public abstract String getRMSequenceId()
- Returns:
- The RM sequence id associated with the message.
Note: it may be
nullif RM is not enabled. - See Also:
RM_SEQUENCE_ID_PROPERTY
-
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:
RM_MESSAGE_NUMBER_PROPERTY
-
getPropertyMap
protected BasePropertySet.PropertyMap getPropertyMap()
Description copied from class:BasePropertySetMap representing the Fields and Methods annotated withPropertySet.Property. Model ofPropertySetclass.At the end of the derivation chain this method just needs to be implemented as:
private static final PropertyMap model; static { model = parse(MyDerivedClass.class); } protected PropertyMap getPropertyMap() { return model; }- Specified by:
getPropertyMapin classBasePropertySet
-
-