Hi all
I need to process some messages from a JMS store, do some logic with this message and notify them to some external applications.
In order to ensure scalability, i am starting several actor systems on different servers.
JMS reading is consistent so there is no problem on this part.
The problem i reach is from the akka part: I need to be able to redirect pending work (pending messages in agent mailbox) from one server to a running server member if the current one is going down (akka system shutdown).
Should i share mailbox between agents across the cluster? Should i listen to member events and enqueue message in another agent mailbox?
Thanks for your help
Olivier
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi endre
JMS is consumed by a java component outside akka system (a mdb in weblogic). The MDB is getting a reference to akka system thanks to spring.
What i call an agents is either an actor doing the business logic (some filtering, some enrichment on the data) or a notification to one or several different applications (i am using dispatcher to managed parallel calls)
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi endre
Thanks for your inputs.
For nice shutdown, if a cluster member goes down, the worker should stop the JMS consumer, send pending work from mailbox to other cluster members and then stop. Am i right?
I am thinking of using a shared durable mailbox between the same type of actor over the cluster. Do you think it is a good idea?
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.