开发者

Queue consumer clusters with ActiveMQ

How to configure cluster of Consumers in ActiveMQ? I created a simple embedded ActiveMQ applica开发者_开发技巧tion with two consumers of one Queue, consumers are working in separate threads. But when I send a message to the Queue, JMS delivers it to first consumer no matter how long it sleeps after receiving.


I think you're trying to explain that the first consumer is receiving all the messages. There is a FAQ entry for this type of problem available here:

http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html

Bruce

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜