Achieving fast consumption rate
With RabbitMQ and Spring AMQP, I have to achieve is a faster consumption of each message. The scenario is like this:
I have to send emails/SMSes to different people after consuming the messages internally. I want to just post a message and consume it faster by having multiple consumers ready. The message should be consumed only by one consumer…
Should I make a no. of consumers using a shared rabbitmq queue in which each consumer consumes the message posted on the exchange, deletes it from the queue and then after passes that message to a new thread for processing ?
But having a single queue might hamper the performance.
Is there any other way which can cater my requirement ? any suggestions?
SCBCD (EJB 3.0), SCWCD 1.5, SCJP 1.4