activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent Baxter" <bbax...@chariotsolutions.com>
Subject AjaxServlet questions
Date Fri, 29 Feb 2008 18:08:30 GMT
Okay, so I have read nearly everything I can find on the ActiveMQ web site
and the various forums and I am still left with questions regarding how I
can use the AjaxServlet in my application.  Specifically what I seem to be
missing is how do I configure the AjaxServlet to use my ActiveMQ topics?

Specifically what I have in mind is this:

- Ajax-enabled web application using the AMQ amq.js and AjaxServlet (Jetty /
Tomcat)
- ActiveMQ running stand-alone
- Spring JMS stand-alone application

My desire is to have my Ajax-enabled web clients use the AMQ AjaxServlet to
subscribe to topics in my stand-alone AMQ broker.  Then, my Spring JMS
application will be publishing messages into the AMQ broker that I need
published out to my Ajax-enable web clients via the AMQ AjaxServlet.  From
what I have read it appears that I should be able to do this, but the devil
is in the details.

So, my questions are:

1. How do I configure the AjaxServlet to find my AMQ and related topics?
2. Or, is this just "auto-magically" done for me?
3. Or, do I need to be running AMQ embedded in the same servlet container as
my web application in order for this to work?
4. Or, and is is my worst fear, is none of this possible since the AMQ
AjaxServlet simply creates topics / queues on the fly for your web app and
does not integrate at all with the full AMQ broker?

Thanks in advance.
Brent


-- 
Brent Baxter
Chariot Solutions
bbaxter@chariotsolutions.com
Tel: 215-358-1780
Fax: 215-358-1781

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message