public class MessageOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MessageOptions |
NON_TRANSACTIONAL_NO_REPLY |
static MessageOptions |
NON_TRANSACTIONAL_REPLY |
static MessageOptions |
TRANSACTIONAL_NO_REPLY |
static MessageOptions |
TRANSACTIONAL_REPLY |
Modifier and Type | Method and Description |
---|---|
static MessageOptions |
_getMessageOptions(boolean isTransactional,
boolean isNoReply)
Return a messageoption object according to the specified criteria.
|
static MessageOptions |
_getWSIDisabledMessageOption(MessageOptions msgOptions)
Returns a MessageOption that has WSI compliance turned off.
|
boolean |
_isLoggerRequired() |
boolean |
_isWSIComplianceCheckEnabled()
Checks if the WSI compliance is enabled.
|
void |
_setLoggerRequired(boolean isLoggerRequired)
Whether to set the Logger Node under Cordys header or not.
|
boolean |
isNoReply()
Checks if the messageoptions contain a no reply flag.
|
boolean |
isTransactional()
Checks if the messageoptions contain a transactional flag.
|
static MessageOptions |
parse(java.lang.String value)
Parses a messageoptions object from a string.
|
java.lang.String |
toString() |
public static final MessageOptions TRANSACTIONAL_NO_REPLY
public static final MessageOptions NON_TRANSACTIONAL_NO_REPLY
public static final MessageOptions TRANSACTIONAL_REPLY
public static final MessageOptions NON_TRANSACTIONAL_REPLY
public static MessageOptions parse(java.lang.String value) throws java.lang.NumberFormatException
value
- The string containing the value of the messageoptions object.java.lang.NumberFormatException
- When the parsing of the value to int fails.public static MessageOptions _getMessageOptions(boolean isTransactional, boolean isNoReply)
isTransactional
- indicates if the message is transactional.isNoReply
- indicates if no reply is needed or expected.public boolean _isWSIComplianceCheckEnabled()
public static MessageOptions _getWSIDisabledMessageOption(MessageOptions msgOptions)
msgOptions
- public boolean isTransactional()
public boolean isNoReply()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean _isLoggerRequired()
public void _setLoggerRequired(boolean isLoggerRequired)
isLoggerRequired
-