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: 
http://old.nabble.com/Port-sharing-with-servlet-engine-tp29306994p29322673.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to