Hybrid Integration 10.1 | Integrating On-Premises Applications | Integration Server Built-In Services | Event Folder | pub.event:error
 
pub.event:error
WmPublic. Specification for error event handlers.
Input Parameters
stackTrace
String Stack trace for the error.
errorMessage
String The error message, if any, generated by the error that causes the error event.
serviceName
String Fully qualified name of the service in which the error occurred.
Output Parameters
None.
Usage Notes
Remember to register your even handler using Event Manager orpub.event:addSubscriber.
The watt.server.event.exception.async server parameter indicates whether event handlers for error events are invoked synchronously or asynchronously. When this parameter is set to true, Integration Server invokes the event handlers that subscribe to error events asynchronously. When this parameter is set to false, Integration Server invokes the services that subscribe to the error events synchronously. The default is true (asynchronous).
An error event handler can have a filter for the contents of errorMessage. The following filter specifies that any error event with an errorMessage whose value contains the word "missing" will invoke the event handler: *missing*

Copyright © 2015- 2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.