I'd say you're on the right track. May want to consider an internal broker feature that allows you to forward to your two sub queues based on a JMS selector.. see Composite Destination and Filtered destinations section of: http://activemq.apache.org/virtual-destinations.html
On Fri, Apr 26, 2013 at 1:23 AM, sfx810 <sfx...@gmail.com> wrote: > Hi All, I have a main queue, where couple of remote systems post client > data(round 1 million messages per minute - each msg 255 bytes). > I need to process the data from main queue, and then send the processed > data > to two separate queues for different clients(may be more in future). I am > doing this by running single broker, main queue, and sub queues on same > machine( for time being). Now the way I am doing is, by running a consumer > of main queue, and two producers from consumer's onMessage listner, which > post to sub queues. For the moment it is looking all good, though havent > tested with big data. > I just want to double check that I am going in right direction(as lots of > stake involved). I understand that Apache Camel does provide this kind of > functionality, however as a proof of concept(and learning) I want to do it > just via ActiveMQ. > Any help will be appreciated. > Thanks, > Kaz. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Splitting-a-single-queue-into-two-tp4666236.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta