Re: Activemq on Docker

2014-05-20 Thread Gary Tully
peek at https://issues.apache.org/jira/browse/AMQ-3864 - there is publishedAddressPolicy element on a transport connector that will accept an IPADRESS strategy since 5.8 On 18 May 2014 02:50, Noel OConnor noel.ocon...@gmail.com wrote: Thanks Sonica, I'll try this and see how it goes.

Re: Activemq on Docker

2014-05-20 Thread Noel OConnor
Thanks Gary, I managed to get it going by using the --link element in the end. But I'll have a look at this to see if its a better approach. The docker stuff is up on https://github.com/noelo/amq-docker if you want to have a crack at it. cheers Noel On Tue, May 20, 2014 at 9:01 PM, Gary Tully

Re: Activemq on Docker

2014-05-17 Thread sonica
HI Noel, is DockerLink hostnames an option for you? With Docker 1.11 running your container with this syntax docker run -i -t --name this_container --link other_container: other_container any_image Is supposed to inject for you an entry in this_container /etc/hosts pointing to the dynamic ip

Re: Activemq on Docker

2014-05-17 Thread Noel OConnor
Thanks Sonica, I'll try this and see how it goes. Multicast would have been easier and I'm still wondering why the multicast payload contains hostnames rather than ip addresses it seems like a limitation but there may be a good reason for it. Any idea ? cheers Noel On Sat, May 17, 2014 at 4:43

Activemq on Docker

2014-05-16 Thread Noel OConnor
Hi, I'm trying to get activemq working on a Docker container. I've got the basic install going and I'm now trying to configure multicast discovery so that multiple containers can be connected together. I've turned on the multicast discovery and the containers are trying to connect. However the two