activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Chat JavaScript example
Date Mon, 14 Sep 2009 16:34:14 GMT
Hi Doug,

ajax client connects to the servlet (called AjaxServlet) that runs inside
jetty (or any other web container) that server like a proxy to the broker.
Therefore, you should all jms related stuff inside your web application.
Take a look at webapps/demo/WEB-INF/web.xml for an example of how to do it.

Dejan Bosanac

Open Source Integration -
ActiveMQ in Action -
Blog -

On Mon, Sep 14, 2009 at 5:45 PM, Knight, Doug <> wrote:

> All,
> From the JavaScript-based chat example, and various all-similar sources for
> how to configure it (i.e. see
> for
> example), I don't understand how the JavaScript client knows what server to
> connect to. There is mentioned some info about adding to the web.xml, but is
> this used by the JavaScript app or the Jetty server on the server side? I've
> tried to "clone" the chat app to model my app after it (accessing a remote
> JMS topic to retrieve XML data, and display on a GIS map), with no success.
> I never get connected to the CHAT.DEMO topic. Any help on configuring both
> the client and server sides for a JavaScript app would be greatly
> appreciated. Once I get this working, I'd even be willing to share detailed
> info on the configuration I had to setup.
> Doug

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