Error Route Trigger
The eiConsole’s Error Route Trigger Monitor is used when you would like to call Another Interface in the Case of an Error
The Error Route Trigger Transaction Monitor allows you to build arbitrarily complex error handling directly into an eiConsole or eiPlatform interface. As with all the components of the eiConsole, the user is presented with a graphical interface with easy to configure panels.
To configure an Error Route Trigger, select this option from the Transaction Monitor Type dropdown and click add. It will appear in the main route grid.
On the Basic tab, you will see the Error Listener Name configuration item. This name should correspond to a programmatic or triggerable Listener in another interface or route that should be invoked any time an exception occurs. You can also select whether you would like to include the data of the Transaction as it appeared when the error occurred and the Transaction Attributes with that message. You can also decide whether or not you would like to pass the data along unaltered as the message itself.
On the Exception tab, you can specify information that is used to filter when this particular Transaction Monitor will be invoked. For instance, you can enter the Exception Class Name in the Exception Class Name configuration item. This is the name of the Java exception that will trigger this particular Transaction Monitor. You can also enter information about text that the Exception Message must include or must not include, as well as the level of that exception.
On the Stage tab, you can choose to make this Transaction Monitor only applicable to certain stages within the route. To configure this, click the button to the right of the Only Valid for Stage textbox.
Input the names of the stages for which this should be invoked. Then click OK.