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