![]() ![]() ![]() ![]() |
SAF Error Handler: Configuration
Use this page to configure error handling policy properties for SAF imported destinations.
Configuration Options
Name Description Name The name of this error handling object.
MBean Attribute:
WebLogicMBean.Name
Changes take effect after you redeploy the module or restart the server.
Message Handling Policy The error handling policy for this SAF error handling resource.
Discard - By default, expired messages are simply removed from the system. The removal is not logged and the message is not redirected to another location.
Log - Removes expired messages and writes an entry to the server log file indicating that the messages were removed from the system. You define the actual information that will be logged in the Log Format field.
Redirect - Moves expired messages from their current location into the Error Destination defined for imported SAF destinations.
Always-Forward - Ignores the SAF Default Time-to-Live value set on the imported destination and the expiration time set on the message, and so forwards the message to a remote destination even after it has expired.
Any change to this parameter affects only incoming messages; stored messages are not affected.
MBean Attribute (Does not apply to application modules) :
SAFErrorHandlingBean.Policy
Changes take effect after you redeploy the module or restart the server.
Log Format Specifies how information is logged when
Message Handling Policy
is set toLog
.Any change to this parameter affects only incoming messages; stored messages are not affected.
The valid values are:
- %header%
- All JMS header fields are logged.
- %properties%
- All user-defined properties are logged.
- JMSDeliveryTime
- This WebLogic JMS-specific extended header field is logged.
- JMSRedeliveryLimit
- This WebLogic JMS-specific extended header field is logged.
- foo
- Any valid JMS header field or user-defined property is logged.
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 theJMSMessageID
of the message.MBean Attribute (Does not apply to application modules) :
SAFErrorHandlingBean.LogFormat
Changes take effect after you redeploy the module or restart the server.
Error Destination Specifies the error destination when
Policy
is set toRedirect
.Any change to this parameter affects only incoming messages; stored messages are not affected.
MBean Attribute (Does not apply to application modules) :
SAFErrorHandlingBean.SAFErrorDestination
Changes take effect after you redeploy the module or restart the server.
![]() |