NamedEntityBean, SettableBeanpublic interface SAFErrorHandlingBean extends NamedEntityBean
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getLogFormat() |
Specifies how information is logged when
Message Handling Policy is set to
Log. |
java.lang.String |
getPolicy() |
The error handling policy for this SAF error handling resource.
|
SAFDestinationBean |
getSAFErrorDestination() |
Specifies the error destination when
Policy is set to
Redirect. |
void |
setLogFormat(java.lang.String logFormat) |
Sets the value of the
LogFormat attribute. |
void |
setPolicy(java.lang.String policy) |
Sets the value of the
Policy attrubute. |
void |
setSAFErrorDestination(SAFDestinationBean errorDestination) |
Sets the value of the
SAFErrorDestination attribute. |
java.lang.String getPolicy()
The error handling policy for this SAF error handling resource.
Any change to this parameter affects only incoming messages; stored messages are not affected.
void setPolicy(java.lang.String policy)
throws java.lang.IllegalArgumentException
Sets the value of the Policy attrubute.
java.lang.IllegalArgumentExceptiongetPolicy()java.lang.String getLogFormat()
Specifies how information is logged when Message Handling Policy is set to
Log.
Any change to this parameter affects only incoming messages; stored messages are not affected.
The valid values are:
When specifying multiple values, enter them as a comma-separated list. The %header% and %properties%
values are not case sensitive. For example, you could use "%header%,%properties%" for all the
JMS header fields and user properties. However, the enumeration of individual JMS header fields and user-defined
properties are case sensitive. To enumerate only individual JMS header fields you could use "%header, name,
address, city, state, zip".
Note: The JMSMessageID field is always logged and cannot be turned off. Therefore, if the
Log Format is not defined (i.e., null) or is defined as an empty string, then the output to the log
file contains only the JMSMessageID of the message.
void setLogFormat(java.lang.String logFormat)
throws java.lang.IllegalArgumentException
Sets the value of the LogFormat attribute.
java.lang.IllegalArgumentExceptiongetLogFormat()SAFDestinationBean getSAFErrorDestination()
Specifies the error destination when Policy is set to
Redirect.
Any change to this parameter affects only incoming messages; stored messages are not affected.
void setSAFErrorDestination(SAFDestinationBean errorDestination) throws java.lang.IllegalArgumentException
Sets the value of the SAFErrorDestination attribute.
java.lang.IllegalArgumentException