public interface CustomEventListenerThe
CustomEventListeneris an interface that can be implemented to take any actions on a
CustomEventraised by the
CustomEventHandler.raiseEvent(CustomEvent)method. Please annotate your plugin with the corresponding process annotation
CorePluginand also with the
CustomEventFilterannotation to specify the names of the events this
CustomEventListenershould listen to. The
CustomEventFilterannotation is mandatory. The
CustomEventListenercan be used in the novomind iAGENT routing process, the novomind iAGENT Desk process, the novomind iAGENT Chat Agent process and also in the novomind iAGENT Core process.
void processEvent(CustomEvent customEvent)Process a
CustomEvent. Please avoid any long term operations like web service calls or database lookups within this method or ensure strict and short timeout mechanism. Please keep in mind that any blocking of the event queue may cause delays processing events of other plugins.