I want to have up to X number of parallel Akka consumers jobs running at once. This is request/response, so I have autoAck disabled. So, I created a RoundRobinRouter with X number of worker actors all set to the same endpoint (activemq:queue:my.companies.queue).
If I start the consumer application and then start producing messages to the queue, things seem to be going to a good distribution of workers. So, I get my parallelism. However, if I load up the queue before I start my consumer application, all messages end up going to the same actor, so I lose my parallelism until any new messages start coming in. I am guessing that the messages are somehow getting queued in the first actor's mailbox. I also played with concurrentConsumers=X, but that just registered X number of consumers per worker actor, while still maintaining the ability to just process one message at a time, asynConsumers=true ended up overloading my worker actors with too many messages. Any suggestions? What is the recommended way of setting this up? I couldn't find anything about multiple consumers in the Akka Camel docs. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
