Re: [akka-user] Re: Mixing shard regions and proxy to shards regions in the same actor system

2017-10-31 Thread Patrik Nordwall
You're welcome On Tue, Oct 31, 2017 at 11:55 AM, Eduardo Fernandes wrote: > The fixed code. > > > El martes, 31 de octubre de 2017, 11:54:49 (UTC+1), Eduardo Fernandes > escribió: >> >> Fine!! It works like a charm!! >> >> Many thanks Patrik for your time on this!! >> >> I'm

Re: [akka-user] Re: Mixing shard regions and proxy to shards regions in the same actor system

2017-10-31 Thread Eduardo Fernandes
Fine!! It works like a charm!! Many thanks Patrik for your time on this!! I'm attaching the code fixed with your comments. Many thanks for your time on this. It was not clear for me that the role was mandatory. I supposed that a non-role means any. My fault. Happy Halloween and thanks again!

Re: [akka-user] Re: Mixing shard regions and proxy to shards regions in the same actor system

2017-10-31 Thread Patrik Nordwall
In that example you are not using roles at all, which I think is necessary. You need 3 roles: - backend-0 where you start region-0, and start proxy for region-1 with role backend-1 - backend-1 where you start region-1, and start proxy for region-0 with role backend-0 - frontend