Re: [akka-user] Akka 2.4, how to access the journal ActorRef?

2015-09-14 Thread Patrik Nordwall
It was made internal because user should not interact directly with journal. Fore testing special cases you can create a accessor class in the akka package, or write it in Java. /Patrik On Mon, Sep 14, 2015 at 3:49 PM, Brice Figureau wrote: > On Fri, 2015-09-11 at

Re: [akka-user] Akka 2.4, how to access the journal ActorRef?

2015-09-14 Thread Brice Figureau
On Fri, 2015-09-11 at 11:02 +0200, Brice Figureau wrote: > Hi all, > > In previous Akka (2.3 or the 2.4-Mx), we could call > > Persistence(system).journalFor() > and > Persistence(system).snapshotFor() > > to get back the various ActorRef. > > Admittely it wasn't very useful in a

[akka-user] Akka 2.4, how to access the journal ActorRef?

2015-09-11 Thread Brice Figureau
Hi all, In previous Akka (2.3 or the 2.4-Mx), we could call Persistence(system).journalFor() and Persistence(system).snapshotFor() to get back the various ActorRef. Admittely it wasn't very useful in a normal scenario, but when testing it allowed to 'mock' the journals and control the