Ask this problem and try to find the best way to implement it using JMS.
The web application has one listener and several producers and several WorkerBee. The listener pushes messages out of its queue in WorkerBee. All received messages are queued in the Listener. I want to implement a process than send messages from the Listener queue to each WorkerBee, using some kind of load balancing process. Only one instance of the message occurs in the Listener queue or in the WorkerBee queue.
What is the best way to do this? Is JMS a good choice here? How can I send a message from a Listener queue to a WorkerBee queue?
Open to suggestions :) And rate your answer.
spring spring-mvc jms activemq
java_dude
source share