|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MQEvent
The JMSEvent
is an interface to obtain detailed information
of a failed event, and set new information for failed event resubmission.
The detailed information includes
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static int |
MQPER_NOT_PERSISTENT
|
static int |
MQPER_PERSISTENCE_AS_Q_DEF
|
static int |
MQPER_PERSISTENT
|
Fields inherited from interface com.ibm.wbiserver.manualrecovery.FailedEvent |
---|
STATUS_FAILED, STATUS_STOPPED, STATUS_TERMINATED, TYPE_BFMHOLD, TYPE_BPC, TYPE_JMS, TYPE_MQ, TYPE_SCA |
Method Summary | |
---|---|
byte[] |
getCorrelationID()
|
java.lang.String |
getDeliveryMode()
|
java.lang.String |
getDestination()
|
java.util.Date |
getExpiration()
|
java.util.List<FailedEventParameter> |
getPayload()
Return parameters of the failed event. |
java.util.List<FailedEventParameter> |
getPayload(java.util.Properties adminClientProperties)
Return parameters of the failed event with admin client connection properties. |
int |
getPriority()
|
boolean |
getRedelivered()
|
java.lang.String |
getReplyTo()
|
java.lang.String |
getReplyToQMgr()
|
java.lang.String |
getType()
Get event type |
void |
setPayload(java.util.List<FailedEventParameter> payload)
|
Methods inherited from interface com.ibm.wbiserver.manualrecovery.FailedEvent |
---|
didInitiateStore, getCorrelationId, getDeploymentTarget, getDestinationComponentName, getDestinationMethodName, getDestinationModuleName, getFailureDateTime, getFailureMessage, getInteractionType, getMsgId, getOwner, getResubmitDestination, getSessionId, getSourceComponentName, getSourceModuleName, getStatus, isESQualified, isProcessResponse |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final int MQPER_PERSISTENT
static final int MQPER_NOT_PERSISTENT
static final int MQPER_PERSISTENCE_AS_Q_DEF
Method Detail |
---|
java.util.List<FailedEventParameter> getPayload()
1. The client is in the same cell as WPS runtime.
2. The client is in a different cell as WPS runtime, and the admin client properties have been put into Java system environment.
This API does not explicitly throw exception. However, if exception happens such as
failed to load BO schema and BO deserialization fails,
FailedEventRuntimeException
will be throw as runtime exception.
java.util.List<FailedEventParameter> getPayload(java.util.Properties adminClientProperties)
The admin client properties should included the following information.
When security is enabled, additional information are required.
For SOAP based connection, some other properties may also be required in order to make a SSL connection.
An easy way to use this API is to obtain the properties from the existing admin client.
For example,
List parameters = getFailedEventParameters(adminClient.getConnectorProperties());
This API does not explicitly throw exception. However, if exception happens such as failed to load BO schema and BO deserialization fails, FailedEventDataException will be throw as runtime exception.
adminClientProperties
- the admin client properties
byte[] getCorrelationID()
java.lang.String getDeliveryMode()
java.lang.String getDestination()
java.util.Date getExpiration()
int getPriority()
boolean getRedelivered()
java.lang.String getReplyTo()
java.lang.String getReplyToQMgr()
java.lang.String getType()
FailedEvent
getType
in interface FailedEvent
void setPayload(java.util.List<FailedEventParameter> payload)
payload
-
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |