Use the report action to enable message reporting for a proxy service.
Before you begin
These instructions assume you are already editing a message flow in the Edit Message Flow page, as explained in Creating, Editing, and Viewing Message Flows.
To add a report action
You use key value pairs to extract key identifiers from any message context variable or message payload, and ignore the rest of the message. The keys are a convenient way to identify a message. They are displayed as report indexes in the Reporting module. See Viewing Reporting Messages and Viewing Message Details.
For example, consider a report action configured on an error handler in a stage. The action reports the contents of the fault
context variable in the event of an error. The report action is configured as follows:
Each time this action is executed at run time, a message is reported via the Reporting Data Stream. The following table shows the results after the report action is executed twice.
Report Index
|
DB TimeStamp
|
Inbound Service
|
Error Code
|
---|---|---|---|
errorCode=BEA-382505
|
04/26/07 9:45 AM
|
MortgageBroker/ProxySvcs/loanGateway3
|
BEA-382505
|
errorCode=BEA-382505
|
04/26/07 9:45 AM
|
BEA-382505
|
After you finish
When you complete the configuration of this action, continue by configuring other actions or by saving your configuration, as described in Adding and Editing Actions in Message Flows.