activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From unficyp <>
Subject Re: Embedded Broker / AJAXServlet / Jetty
Date Tue, 20 Mar 2012 19:14:39 GMT

so i changed a few things.
- my java code sends to the standalone broker. i can see the messages in the
/admin page and in my java test code.
- i copied my js test html to the /demo dir so that i can access it using
the jetty in standalone broker.
- i see the messages arricing in the ajax code.

Seems to work using this approach.

What i want to achieve is:
- my java daemon should have an embedded broker and all messages should be
written from zmq to activemq
(this already works)
- my java daemon should enable an embedded jetty to provide the messages
using ajaxservlet
- another html/js page running on another webserver should connect to the
ajaxservlet to receive the messages.

my mistake was to use amq.js from another webserver (http://test.local
running xampp) connecting to the embedded jetty (uri:
in the init call ) 

Is that possible ?
Serving the html (Monitoring application) from jetty is NOT an option.

thanks & regards,

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

View raw message