static java.lang.String |
EVENT_RECEIVED
This event type indicates that the message was just received from the JMS provider.
The data Map returned by getData() will be populated as follows:
KeyValue TypeDescription
"isTransacted"java.lang.Booleantrue if the receiving session is transacted
"acknowledgeMode"java.lang.Integerthe acknowledgeMode of the receiving session
static java.lang.String |
EVENT_SUCCEEDED
This event type indicates that IdM processing of the message was successful.
The data Map returned by getData() will be null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EVENT_RECEIVED
public static final java.lang.String EVENT_RECEIVED
- This event type indicates that the message was just received from the JMS provider.
The data Map returned by getData() will be populated as follows:
Key | Value Type | Description |
"isTransacted" | java.lang.Boolean | true if the receiving session is transacted |
"acknowledgeMode" | java.lang.Integer | the acknowledgeMode of the receiving session |
- See Also:
- Constant Field Values
EVENT_COMMITTED
public static final java.lang.String EVENT_COMMITTED
- This event type indicates that the JMS session in which this message
was received was just successfully committed.
The data Map returned by getData() will be null.
- See Also:
- Constant Field Values
EVENT_MAPPED
public static final java.lang.String EVENT_MAPPED
- This event type indicates that the message was succesfully translated to
an attribute map.
The data Map returned by getData() will be populated as follows:
Key | Value Type | Description |
"rhsMap" | java.util.Map | The populated right-hand attribute side |
- See Also:
- Constant Field Values
EVENT_AWAITING_CLIENT_ACK
public static final java.lang.String EVENT_AWAITING_CLIENT_ACK
- This event type indicates that the message shoud be acknowledged at this
point. You will only receive this event of the JMS Listener adapter is
configured to use CLIENT_ACK acknowledgment.
The data Map returned by getData() will be null.
- See Also:
- Constant Field Values
EVENT_SUCCEEDED
public static final java.lang.String EVENT_SUCCEEDED
- This event type indicates that IdM processing of the message was successful.
The data Map returned by getData() will be null.
- See Also:
- Constant Field Values
EVENT_FAILED
public static final java.lang.String EVENT_FAILED
- This event type indicates that IdM processing of the message failed.
The data Map returned by getData() will be populated as follows:
Key | Value Type | Description |
"throwable" | java.lang.Throwable | The failure |
- See Also:
- Constant Field Values
JmsMessageLifeCycleEvent
public JmsMessageLifeCycleEvent(javax.jms.Message message,
java.lang.String type,
java.util.Map data)
getData
public java.util.Map getData()
- Returns:
- Returns the optional data associated with the event.
getMessage
public javax.jms.Message getMessage()
- Returns:
- Returns the message.
getType
public java.lang.String getType()
- Returns:
- Returns the type.
toString
public java.lang.String toString()
|