.eventExecutor(eventExecutor)
.create();
eventReceiver.open();
EventSubscription subscription = eventReceiver.subscribeAll(new GenesysEventListener() {
@Override public void eventReceived(GenesysEvent event) {
System.err.println(
"Handling event received from channel " + event.getChannel()
+ " in thread " + Thread.currentThread().getName()
+ " with content " + event.getContent());