You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by um...@comcast.net on 2007/01/30 21:44:05 UTC

JMS across VMs

I apologise if this is a FAQ. I am running two JVMs on distinct physical
hosts. I 'd like to the publish-scbscribe mechanism to work across
the VMs (and hence the hosts).

Is this supported in ActiveMQ? If so, could you point me to the relevant
documentation/simple example?

Regards,

/U

Re: JMS across VMs

Posted by Adrian Co <ac...@exist.com>.
Yes. This is supported by ActiveMQ more specifically the JMS specification.

I'd start with this:
http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/jms_tutorialTOC.html

Take note of the publish/subscribe model:
http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/client.html#1025458

Here's how you can get started with AMQ:
http://www.activemq.org/site/getting-started.html

You might want to look at the jndi section also:
http://www.activemq.org/site/jndi-support.html

Good luck!

Regards,
Adrian Co

uma_rk@comcast.net wrote:
> I apologise if this is a FAQ. I am running two JVMs on distinct physical
> hosts. I 'd like to the publish-scbscribe mechanism to work across
> the VMs (and hence the hosts).
>
> Is this supported in ActiveMQ? If so, could you point me to the relevant
> documentation/simple example?
>
> Regards,
>
> /U
>
>