English 中文(简体)
Anyone using multicast with ActiveMQ
原标题:

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.

最佳回答

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.

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签