Example Scenario:
1. Client will create a command *MakePayment*(clientId: Int, amount: Int)
2. There are two actors: *ClientActor* and *FinanceActor*
3. First verify if clientId is correct from ClientActor, which will return 
*Client*(id: Int, name: String, paymentStatus: Boolean)
4. If we get verified Client, create a payment: *Payment*(clientId: Int, 
amount: Int, date: Date) from FinanceActor and return current balance
5. Update the payment status of the client to true and return client 
information

Now, I want to have following aggregated Tupled output for these operations:
*Balance(client: Client, total: Int)*

Someone please suggest how to achieve this using Actors.

Thanks,
Roshan

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to