activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Port sharing with servlet engine
Date Mon, 02 Aug 2010 09:39:08 GMT

you can also use REST API if you need to embed the broker in an
existing web server

Dejan Bosanac -

Open Source Integration -
ActiveMQ in Action -
Blog -

On Mon, Aug 2, 2010 at 9:36 AM, Erik Martino Hansen
<> wrote:
> I looked a bit more into it. The apache solution does not fit our product.
> But it seems to me that the new websocket+stomp feature in the upcoming
> activemq would make port sharing possible if activemq is embedded in the
> jetty instance and one uses a stomp+websocket client on the java client
> side. Right?
> Would it be possible to implement the native activemq protocol on top of a
> websocket to get all the activemq features. This will ensure that a service
> and activemq could hide behind a single port?
> /erik
> Erik Martino Hansen wrote:
>> Is it possible to let activemq share a port (80 or 8080) with a servlet
>> engine like Jetty or Tomcat? So that a single port on a single server
>> serves standard http requests and jms broker communication.
>> The examples I could find seems to assume that the activemq broker owns
>> the port.
>> If that is not possible could you point me to another protocol that let me
>> efficiently push messages from a web server to a java client. I have found
>> examples on java server to flex (blazeds), java server to html+javascript
>> (atmosphere) but not java server to java client.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message