+ ") Message received. Message was: '"
+ message.substring(0, Math.min(20, message.length())) + "'");
for (String path : listeners) {
CFEvent event = new CFEvent(gatewayID);
Hashtable<String, Object> mydata = new Hashtable<String, Object>();
mydata.put("CHANNEL", channel);
mydata.put("MESSAGE", message);
event.setData(mydata);
event.setGatewayType("RedisSub");
event.setOriginatorID("RedisSubGateway");
event.setCfcMethod("onIncomingMessage");
event.setCfcTimeOut(10);
if (path != null) {
event.setCfcPath(path);
}
boolean sent = gatewayService.addEvent(event);
if (!sent) {
log.error("RedisSubGateway("