note the -Durl=tcp://localhost:61616 optional argument to the example ant scripts.
start the broker on another node/machine. Then to run the examples locally against that broker, use the -Durl option but replace 'localhost' with the node name On 6 February 2012 13:26, Ramon Bacardi <campdefa...@gmail.com> wrote: > Hi - I am new to ActiveMQ and have it installed and I have run OK the > "and/consumer" and also "ant/producer" samples. But this environement (all > in one machine) is very restricted. The real world is when you want to go to > another machine. > > *Can someone provide a pointer to a ActiveMQ configuration to send messages > from one machine and to receive them on another machine ? > * > > I dont want to use JNDI, as I prefer to "code" the destination in my app (or > its cfg files). > Thanks. Ramon. > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/configuration-sample-to-connect-2-machines-tp4361227p4361227.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com