Hi Martynas

Thanks for getting back to me. I guess my problem is also to figure out how 
to delete the messages in the mailbox for this specific request ID.
Basically, the mailbox will have multiple messages for the same requestID 
with different time slices. So when I get a cancel request for the specific 
ID, I want to also remove the existing messages in the mailbox for this ID.
I could not find a nice and easy way to accomplish this.

Is there anything in the AKKA framework for something like this?

Thanks
Meena

On Tuesday, April 8, 2014 10:58:44 AM UTC-4, Martynas Mickevičius wrote:
>
> You could use BoundedPriorityMailbox in your router. More info 
> here<http://doc.akka.io/docs/akka/2.3.1/scala/mailboxes.html>
> .
>
> Also, make sure that 'CANCEL REQUEST' message produces the same hash value 
> for the hashing pool as the message you want to cancel. Otherwise 'CANCEL 
> REQUEST' message could be routed to a worker which will not ever get the 
> message to be canceled.
>
> --
> Martynas Mickevičius
> Typesafe <http://typesafe.com/> – Reactive<http://www.reactivemanifesto.org/> 
> Apps 
> on the JVM
>

-- 
>>>>>>>>>>      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.

Reply via email to