public interface FailedEventWithParameters extends FailedEvent
SCAEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
|
STATUS_FAILED, STATUS_STOPPED, STATUS_TERMINATED, TYPE_BFMHOLD, TYPE_BPC, TYPE_JMS, TYPE_MQ, TYPE_SCA
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCEITraceControl()
Deprecated.
Return CEI trace control
|
java.util.Date |
getExpirationTime()
Deprecated.
Return expiration time
|
java.util.List |
getFailedEventParameters()
Deprecated.
Return parameters of the failed event.
|
java.util.List |
getFailedEventParameters(java.util.Properties adminClientProperties)
Deprecated.
Return parameters of the failed event with admin client connection properties.
|
void |
setCEITraceControl(java.lang.String ceiTraceControl)
Deprecated.
Set new CEI trace control
|
void |
setExpirationTime(java.util.Date expirationTime)
Deprecated.
Set new expiration time
|
void |
setFailedEventParameters(java.util.List failedEventParameters)
Deprecated.
Set new parameters to the failed event
|
didInitiateStore, getCorrelationId, getDeploymentTarget, getDestinationComponentName, getDestinationMethodName, getDestinationModuleName, getFailureDateTime, getFailureMessage, getInteractionType, getMsgId, getOwner, getResubmitDestination, getSessionId, getSourceComponentName, getSourceModuleName, getStatus, getType, isESQualified, isProcessResponse
static final java.lang.String COPYRIGHT
java.util.List getFailedEventParameters()
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 getFailedEventParameters(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 propertiesvoid setFailedEventParameters(java.util.List failedEventParameters)
failedEventParameters
- new failed event parametersjava.lang.String getCEITraceControl()
void setCEITraceControl(java.lang.String ceiTraceControl)
ceiTraceControl
- the new CEI trace controljava.util.Date getExpirationTime()
void setExpirationTime(java.util.Date expirationTime)
expirationTime
- the new expiration time