Interface CustomEventListener
-
public interface CustomEventListener
TheCustomEventListener
is an interface that can be implemented to take any actions on aCustomEvent
raised by theCustomEventHandler.raiseEvent(CustomEvent)
method. Please annotate your plugin with the corresponding process annotationMailAgentPlugin
orRoutingPlugin
orCorePlugin
and also with theCustomEventFilter
annotation to specify the names of the events thisCustomEventListener
should listen to. TheCustomEventFilter
annotation is mandatory. TheCustomEventListener
can 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.- Since:
- 12.20
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
processEvent(CustomEvent customEvent)
Process aCustomEvent
.
-
-
-
Method Detail
-
processEvent
void processEvent(CustomEvent customEvent)
Process aCustomEvent
. 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.- Parameters:
customEvent
- theCustomEvent
- Since:
- 12.20
-
-