Well, let's say I'm building an ActiveMQ-based chat application. It is pretty simple. Having only one QUEUE.INand one TOPIC.OUT. All messages are simply sent straight from QUEUE.INto TOPIC.OUT. Customers create their chat messages QUEUE.INand consume from TOPIC.OUT. It's all.
Now I want to group it. No need for something complicated. Just run several other identical nodes (A..N). Basically, a client subscribed to Anode sends a message to A.QUEUE.IN. This message should appear on all other sites (A..N).TOPIC.OUT. This can easily be done with a simple camel route that redirects all messages TOPIC.OUTto other nodes, but is there any good ActiveMQ way to do this? Like some queues / threads shared by multiple AMQ instances?
source
share