Eric Rodriguez wrote:
function listenersInit() { amq.addListener("anyID","topic://my_topic",myHandler.rcvDiff); }
To make it clear: "amq.addListener("anyID","topic://my_topic",myHandler.rcvDiff);" does not need to be inside listenersInit(), that's just how I do it.