activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ipsi <nzi...@gmail.com>
Subject Creating temporary connections from Javascript?
Date Thu, 22 May 2008 23:00:54 GMT

I'm trying to do something that I would have thought would be quite simple:
Use JMS to provide communication back and forth between a AJAX-enabled
webpage and a server.

However, that's being harder than I would have liked because I can't (as far
as I can tell) create a temporary Queue via AJAX, and any temporary Queues
that I do create can't be consumed on the AJAX side. I've got no idea how
many clients are going to be connected at once, so I can't really create
static queues and hope for the best.

The only solution I can see at this stage is to use Topics, but that worries
me - I can't imagine the performance would be even remotely acceptable once
you hit more than 10 clients or so, each asking for information every 10
seconds.

So, are Topics the only solution? Or is there a better way (and that better
way must work with AJAX).
-- 
View this message in context: http://www.nabble.com/Creating-temporary-connections-from-Javascript--tp17415277s2354p17415277.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message