As far as my experience with RabbitMQ goes they provide which will start a loop thread and a handler function should be specified. *RMQ Java client:* https://www.rabbitmq.com/java-client.html
Your handler function will just forward the message to your intended actor, and your handler should have a reference to the RMQ client so when your actor stops your handler also stops (Life-cycle) The only challenge there you will face is if you implement some sort of ack. Anyway when I google "akka rmq" I found this http://www.lightbend.com/activator/template/rabbitmq-akka-stream among other interesting projects. HTH, Guido. On Thursday, February 25, 2016 at 10:58:05 PM UTC, [email protected] wrote: > > Hi, > I have an akka actor-java based application. I need to consume RabbitMQ > messages in akka java actors. Is there a library I can use? > > Thanks. > -- >>>>>>>>>> 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 https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
