Question

I'm having trouble setting up multicast transport using ActiveMQ. I noticed with version 5.2 there is a bug that prevents it from even building the correct factory (fixed in 5.3). The fact this bug exists makes me wonder if anyone is using multicast at all. How can this be tested when it only recently has been enabled?

Just knowing that this is possible would help me a lot. Thanks.

EDIT:

It turns out i was hanging on building the connection. The setClientID is a synchronous call, so the client sits and waits indefinitely. This is a landmine for anyone using multicast, there are many calls in the AMQConnection object that call ensureConnectionInfoSent() that blocks until it receives a response. This is just incompatible with multicast.

Was it helpful?

Solution

I have seen the multicast transport work in the past, in a development rather than production context. It seemed a bit flaky, though, and didn't give me the confidence to trust it where there's money on the line.

IMO, ActiveMQ is ridiculously buggy. The most basic bugs seem to creep into the codebase on a regular basis, and it's very hard to have confidence that they can do the difficult things when the basics go wrong so often.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top