Thanks Tim. It's much better now. And it seems to work. I'll be doing some tests with it for the next week. There is however, a very annoying bug with the parallel Java functionality: https://issues.apache.org/activemq/browse/AMQ-2283 So it's too soon to be happy ... :) Thanks again.
Timothy Bish wrote: > > On Wed, 2009-06-10 at 14:21 -0700, Eric Bouer wrote: >> Hello Jim >> Unfortunately I can't confirm it's working >> Using activemq:failover >> (discovery:multicast://default,tcp://activemqhost:61616) >> I've got : >> "Connect fail to 'discovery:multicast://default': Composite connection >> not >> supported with MulticastDiscovery transport." > > I'm seeing this error to, seems there might be a bug here. >> >> Using activemq:discovery:multicast://default I've got: >> >> Connect failed :Apache.NMS.NMSConnectionException: Unable to find a >> connection >> to discovery:multicast://default before the timeout period expired. >> at >> Apache.NMS.ActiveMQ.Transport.Discovery.DiscoveryTransportFactory.CreateTransport(Uri >> >> location) >> at Apache.NMS.ActiveMQ.Transport.TransportFactory.CreateTransport(Uri >> location) >> at Apache.NMS.ActiveMQ.ConnectionFactory.CreateConnection(String >> userName, >> String password) >> at Apache.NMS.ActiveMQ.ConnectionFactory.CreateConnection() >> at ActiveMQConnector.MQ.Connect() >> >> Tried again trunk from today. >> Can I help you with more information or anything else? >> Thanks. >> Eric. >> > > I submitted a patch this morning that should get the Discovery Transport > working for you if you checkout the latest trunk code. If you want to > give that a try and let us know if things start to work for you that > would be great. > > >> >> >> semog wrote: >> > >> > Hi Eric (And John West), >> > >> > I haven't been able to get the auto-discovery to work yet, but from >> your >> > sample connection strings, I think you will need to change them to the >> > following to have any chance of getting them to work: >> > >> > activemq:discovery:multicast://default >> > >> > or >> > >> > activemq:failover:discovery:multicast://default >> > >> > Parenthesis are also acceptable as follows: >> > >> > activemq:discovery:(multicast://default) >> > >> activemq:failover:(discovery:multicast://default,tcp://activemqhost:61616) >> > >> > The key is to have the prefix of "activemq:". If you don't have that, >> > then the correct connection factory will not be loaded by NMS. Make >> sure >> > you update to the latest code and rebuild the Apache.NMS and >> > Apache.NMS.ActiveMQ projects before trying anything. The discovery >> > protocol stuff is not my area of expertise, so I'm still attempting to >> > figure out the mechanisms behind it. >> > >> > Best, >> > Jim >> > >> > -- > Tim Bish > http://fusesource.com > http://timbish.blogspot.com/ > > > > > -- View this message in context: http://www.nabble.com/Discovery-and-NMS-tp22812691p23995583.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.