I have successfully setup an Akka Cluster with Play application as 
master...However I am trying to Send message to my actors in round-robin 
fashion...But it does not seem to work rather messages are being published 
in random fashion which is the default strategy...What wrong I may be 
doing..


*This is my Play Configuration for Akka*

akka{
 actor{
    #provider="akka.remote.RemoteActorRefProvider"
    provider="akka.cluster.ClusterActorRefProvider"
    extensions = 
["akka.contrib.pattern.DistributedPubSubExtension","akka.contrib.pattern.ClusterReceptionistExtension"]
 }


 remote {
     transport = "akka.remote.netty.NettyRemoteTransport"

     enabled-transports = ["akka.remote.netty.tcp"]
     netty.tcp {
       hostname = "127.0.0.1"
       port = 9001
       maximum-frame-size = 64000000b
       receive-buffer-size = 64000000b
     }
  }

}


akka.contrib.cluster.pub-sub {
    # Actor name of the mediator actor, /user/distributedPubSubMediator
    name = distributedPubSubMediator

    # Start the mediator on members tagged with this role.
    # All members are used if undefined or empty.
    # role = ""

    # The routing logic to use for 'Send'
    # Possible values: random, round-robin, consistent-hashing, broadcast
    routing-logic = round-robin
}

*This is my config for worker Actor (Running in akka microkernel)*

akka{
     actor {
      provider="akka.cluster.ClusterActorRefProvider"
     }
     remote {
      transport = "akka.remote.netty.NettyRemoteTransport"
      netty {
        hostname = "127.0.0.1"
        tcp{
            port = 2555
            maximum-frame-size = 3200000b
        }
      }
    
     }

     cluster {
       seed-nodes = [
          
            "akka.tcp://[email protected]:9001"
         ]
         auto-down-unreachable-after = 10s
         retry-unsuccessful-join-after = 5s
     }

     extensions = ["akka.contrib.pattern.DistributedPubSubExtension"]
}

Please help

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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/groups/opt_out.

Reply via email to