Re: [akka-user] Finding other actors

2015-01-05 Thread Patrik Nordwall
Hi Ian, On Mon, Dec 29, 2014 at 10:19 PM, Ian Holsman i...@holsman.com.au wrote: Hi. I was wondering what the best practice was for finding a running instance of an certain class of actor. (say 'bank account') Currently I have a BankAccountManager which creates a new bank account, and

Re: [akka-user] How to identify that akka cluster has formed?

2015-01-05 Thread Patrik Nordwall
On Fri, Jan 2, 2015 at 12:21 PM, Krishna Kadam shrikrishna.kad...@gmail.com wrote: Hi all, I am trying to use the cluster feature in Akka. I have following doubts How can I verify establishment of AKKA cluster? Subscribe to cluster membership events?

Re: [akka-user] Disable warning messages from ReliableDeliverySupervisor

2015-01-05 Thread Patrik Nordwall
On Fri, Jan 2, 2015 at 2:39 PM, Miguel Angel Fernandez mafernan...@stratio.com wrote: Hi all, I'm trying to disable the messages of this type: [WARN|ReliableDeliverySupervisor] Association with remote system [akka.tcp://ServerCluster@127.0.0.1:57230] has failed, address is now gated for

[akka-user] Re: How to identify that akka cluster has formed?

2015-01-05 Thread Krishna Kadam
Hi patrik, I am doing a masters project in which I have streaming data and want to send a particular type of message to the same actor every time, so that certain type of messages are processed by akka actors in their arrival order. Also I want to deploy these actors on multiple machines

[akka-user] Re: Application.conf not being used under test

2015-01-05 Thread Anders Båtstrand
How do you load the configuration? And could you post the output of Config.origin() after you have loaded the configuration? I had a problem with configuration being overidden, but solved it by reading the javadoc on ConfigFactor.parseResourcesAnySyntax (cleared up a few things for me). Best

[akka-user] Re: [akka-persistence] Testing systems which have Persistence

2015-01-05 Thread Anders Båtstrand
I have only been using Akka Persistence for a few months, but this is my suggestions: 1. I always start empty, but that is possibly not what you want. Maybe a file based storage, and you copy the files in place right before you start the Akka system? 2. I have solved the same problem by

Re: [akka-user] Re: Figuring out Docker and Akka clustering with 2.4-SNAPSHOT (bind-hostname, bind-port)

2015-01-05 Thread Patrik Nordwall
Thanks for sharing! On Wed, Dec 31, 2014 at 6:37 PM, tigerfoot gzol...@gmail.com wrote: Think I've got it! Here's the recipe for application.conf I got working to make Akka clustering work w/Docker: akka { loglevel = ERROR stdout-loglevel = ERROR loggers = [akka.event.slf4j.Slf4jLogger]

Re: [akka-user] Re: Possibility of deploying actors from single ActorSytem to multiple nodes

2015-01-05 Thread Patrik Nordwall
On Thu, Jan 1, 2015 at 6:58 AM, Krishna Kadam shrikrishna.kad...@gmail.com wrote: Hi All, Thanks Konrad for your suggestions, I read the documents you suggested. I did the following changes in my project's *application.conf*. akka{ loglevel = DEBUG actor{ provider =

[akka-user] Re: Finding other actors

2015-01-05 Thread Patrick Mahoney
Hello Ian, I have had some success instantiating and exposing ActorRef vals within an extension - http://doc.akka.io/docs/akka/snapshot/scala/extending-akka.html. This works well for actors that should be singletons within a given ActorSystem - each extension is instantiated once per actor

Re: [akka-user] Finding other actors

2015-01-05 Thread Patrick Mahoney
I have had some success instantiating and exposing ActorRef vals within an extension - http://doc.akka.io/docs/akka/snapshot/scala/extending-akka.html. This works well for actors that should be singletons within a given ActorSystem - you get this from extensions. -Patrick On 29 December 2014 at

Re: [akka-user] akka-http HttpService equivalent

2015-01-05 Thread Jacek Laskowski
Thanks, Konrad! That's helped a lot. Jacek On Sunday, January 4, 2015 4:58:29 PM UTC+1, Konrad Malawski wrote: Hi Jacek, As the name implies, japi is the *java api*, you’re not meant to be using those if you’re using Scala - just use the normal scala APIs. The Scala Routing DSL cannot be

Re: [akka-user] Finding other actors

2015-01-05 Thread Ian Holsman
Thanks Patricks! I try using the 'xxxManager' approach.. Regards Ian On Mon, Jan 5, 2015 at 11:00 AM, Patrick Mahoney patr...@auvik.com wrote: I have had some success instantiating and exposing ActorRef vals within an extension - http://doc.akka.io/docs/akka/snapshot/scala/extending-akka.html.

Re: [akka-user] Re: [akka-persistence] Testing systems which have Persistence

2015-01-05 Thread Ian Holsman
Thanks for answering Anders, your answers were very helpful. for #1 (starting in a known state). I was more asking how do I start with a 'fresh/clean' journal with no history. I can manually remove the files, but I was hoping there was something in the test-kit I could do which will achieve this

Re: [akka-user] BalancingPool with custom mailbox

2015-01-05 Thread Pradeep Gollakota
Hi Patrik, Thanks for the response. Is there a work around for this I can employ? Is it possible to use a custom mailbox with the old balancing dispatcher (from pre 2.3)? On Friday, January 2, 2015 7:05:02 AM UTC-8, Patrik Nordwall wrote: Hi Pradeep, Custom mailbox with balancing pool is