Configure error processing

Use the Configure error processor page to configure the way Interchange handles messages when it rejects them for any reason. This page enables you to react to message rejection by specifying the inline processing rule(s) or the script to apply to the rejected message.

This feature does not automatically provide for error processing based on the reason for the message rejection. To apply message filtering based on the message rejection reason or time, you must add filtering to the inline processors or to the script that you apply.

About error processing

When Interchange rejects a message, it triggers error processing on the message at the moment of rejection.

If you have set an error processor through the Configure error processor page, Interchange:

  • Adds the metadata PreviousState to the rejected message. It sets the value of this metadata to the name of the previous message state. This enables you to know what the state of message processing was immediately before rejection.
  • Records the reason for rejection in the metadata RejectedReason.
  • Calls any inline processing rules that you have defined, in the order they are listed.
  • Calls a post-processing script if you have defined one.

Configure error processing

  1. From the menu bar, select Manage trading configuration, to open the Communities page.
  2. From the task list at the bottom of the page, select Configure error processing.
  3. Complete the fields:
    • Enable this error processor – Select to enable the processor on message rejection.
    • Perform inline processing – Select this option if you want to apply inline processing rules to a rejected message, then specify one or more inline processors:
      • Description – Optionally enter a description of this inline processing rule.
      • Class name – Enter the name of the Java class for implementing message error processing.
      • Parameter – If there are any parameters required for implementing the Java class, enter them here.
    • Execute a processing script – Select this option if you want to apply a processing script to rejected messages, then specify the script:
      • Processing script – The name of the post-processing script.
  4. Click Save.

Related topics

Related Links