155156157158159160161162163164165
if (filter.check(message)) { executor.execute(new Runnable() { @Override public void run() { try { listener.onMessage(message); } catch (Exception e) { log.error("caught exception from onMessage", e); } } });