onEvent method

void onEvent (String correlationId, IEvent event, Parameters args)

A method called when events this listener is subscrubed to are fired.

  • event a fired evemt
  • correlationId (optional) transaction id to trace execution through call chain.
  • args event arguments.