activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prgtrdr <>
Subject Re: Possible Bug in AJAX/
Date Thu, 10 Oct 2013 21:48:43 GMT
I wonder if there's a way around this by somehow cloning the amq.js library
within a single browser tab?  That way, I could call amq_init with different
clientIds and reference it that way.

Something like:

amqInstance1 = new amq();
amqInstance1.amq_init( clientID: 'client1' );
amqInstance1.addlistener( 'testconnection1', "/Mytopic", MyHandler1 );

amqInstance2 = new amq();
amqInstance2.amq_init( clientID: 'client2' );
amqInstance2.addlistener( 'testconnection2', "/Mytopic", MyHandler2 );


Does this seem feasible?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message