Hi I was wondering if someone could guide me with the following design. The use-case I have is as follows:
- Actor-A sends a request to a third-party system - Third party system responds immediately with an ID for the request - Actor-A sends a message to its parent with the Request-ID - Third-party system processes request and creates a result that is consumed by another actor (Actor-B) - Actor-B should inform Actor-A or its parent about the results (Request-ID is available in the results) I was thinking about having Actor-A send a "register" message to Actor-B. On availability of results, Actor-B shall "notify" Actor-A. To implement this, Actor-B shall contain a map of "Request-ID" -> "Actor-A Refs". Once a message gets sent to an Actor-B ref, the corresponding entry shall be taken out of the map. Are there better ways of designing this? - Ranga -- >>>>>>>>>> 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 [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/groups/opt_out.
