Thursday, 19 September 2013

Can any of my consumer take the messages from queue?

Can any of my consumer take the messages from queue?

I am developing an app. and I am using activemq. Is there any way to do
that one producer always send messages to one broker but on the opposite
side there 3 consumers.Each consumer listens broker and can take any of
message from queue.Is this possible?
I am using activemq for writing my app. logs to db.As u know writing logs
to db is time taking process.That's why consumer is more and more slow
than producer.For ex. I send 100.000 message(huge objects).Producer
finishes sending messages in 20 mins.But When the producer finished,
consumer has finished 4.000 message processing yet.

No comments:

Post a Comment