Error Handler Profile Overview

This sample profile handles connectivity errors that might occur when XEServer is trying to send the result message to the client. To control the process flow and to emulate connectivity errors, XEServer uses a set of XEServer environment properties:

  • ${DS_Primary--DS_Good_Enabled_and_DS_Bad_Disabled}
  • ${DS_Secondary--DS_Good_Enabled_and_DS_Bad_Disabled}
  • ${JMS_Primary--JMS_Good_Enabled_and_JMS_Bad_Disabled}
  • ${JMS_Secondary--JMS_Good_Enabled_and_JMS_Bad_Disabled}

These boolean variables allow you to enable and disable the transport (JMS) and storage (Data Storage) modules, and to emulate transport / storage errors.

Profile Location

Edifecs Library / Best Practices / Common Tasks / Error Handler

Requirements

  • Edifecs XEngine 9.0 or later.
  • Edifecs XEServer 9.0 or later.
  • Edifecs Application Manager (EAM) 9.0 or later.
  • Edifecs SpecBuilder 9.0 or later.

Prerequisites

  • In Edifecs Application Manager, add the profile Error Handler from the Edifecs Library to Edifecs Application Manager. For more information, see Edifecs Library Help Center.
  • Register the crosswalk file ErrorsActionCrosswalk.crsw before you use the crosswalk.

Profile Execution

To test the scenarios 1 - 5, select the JMS component Primary Bad on the route 2 Sample Route and make sure that the selected Service Name is "JMS Connection_Bad_1" or "JMS Connection_Bad_3".