mardi 10 mars 2015

Remove a route from a routee


Vote count:

0




I have an actor who is routing messages to a group of other actors who act as wrappers on top of a volatile service. So far everythign is great, but I'd like to be able to control how many actors exist acting on this service (since they may represent socket connections or other physical properties) so beign able to manage scaling them would be nice.


I see that there is a remove routee method on the router and it does remove the routes, but is there a way to send a poison pill to my child actors first before they are removed? The docs say that a poison pill message should come through when removing the routee this way but I'm not seeing that happen.



asked 7 secs ago

devshorts

2,942






Remove a route from a routee

Aucun commentaire:

Enregistrer un commentaire