activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prgtrdr <prgt...@gmail.com>
Subject Re: Possible Bug in AJAX/MessageListenerServlet.java?
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 );

etc.

Does this seem feasible?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Possible-Bug-in-AJAX-MessageListenerServlet-java-tp4672543p4672605.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message