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 where you start proxy for region-0 with role backend-0, and
   proxy for region-1 with role backend-1

/Patrik


On Tue, Oct 31, 2017 at 3:52 AM, Eduardo Fernandes <[email protected]> wrote:

> Hi all again.
>
> After playing a bit with the sample code I saw other effect I still don't
> understand. I just modify the original code to enable creation of only two
> proxies instead of one materialized and proxy shard regions. When I do it
> the original materialized regions that worked before stop working.
>
> Please test it changing the boolean createProxyOnly in the beginning of
> the class to 'true'.
>
> Again many thanks for your time on this. I'm pretty sure that it is a
> simple mistake in my 15 lines sample code but I can't catch it.
>
> Best regards.
>
> /Eduardo
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to