[akka-user] Re: Error in Docker container: Default journal plugin is not configured

2017-08-02 Thread Jan-Terje Sørensen
That is the pom.xml file for transforming the config file. onsdag 2. august 2017 22.50.51 UTC+2 skrev Evgeny Shepelyuk følgende: > > Wtf is this XMl snippet ? -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >>

[akka-user] Re: Error in Docker container: Default journal plugin is not configured

2017-08-02 Thread Jan-Terje Sørensen
Just figured it out. Filename should be "application.conf" as you stated. And the transformer name should be "reference.conf" reference.conf -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >>

[akka-user] Re: Error in Docker container: Default journal plugin is not configured

2017-08-02 Thread Jan-Terje Sørensen
If I change to application.conf then I get this error because reference.conf is missing: INFO [2017-08-02 20:36:38,089] akka.event.slf4j.Slf4jLogger: Slf4jLogger started requirement failed: 'reference.conf' is missing persistence read journal plugin config path:

[akka-user] Error in Docker container: Default journal plugin is not configured

2017-08-02 Thread Jan-Terje Sørensen
Hi, I am working on getting my akka-persistence app to run in Docker. When I run the application from Intellij it works as intended, but when i deploy the same files(jar & config) to Docker and try to run it from the container i get this error: ``` [ERROR] [08/02/2017 11:04:10.226]

[akka-user] Receive value from persistenceActor.tell (msg, send);

2017-07-07 Thread Jan-Terje Sørensen
Hi, I have a API where I want to create a new user, and as a result of this API-call i would like to return the User-ID. How is it possible to receive a value from a tell? I have looked into Futures with no luck. I am trying to avoid Await.result, and solve it with a onSuccess. Anyone have a

[akka-user] Re: How to create a good persistence actor test in java

2016-03-07 Thread Jan-Terje Sørensen
L27> onsdag 2. mars 2016 22.24.42 UTC+1 skrev Jan-Terje Sørensen følgende: > > Hi, > > I'm working on figuring out how to create a good persistence actor test in > java but am struggling with the example > <http://doc.akka.io/docs/akka/snapshot/java/testing.html>. > Th

[akka-user] How to create a good persistence actor test in java

2016-03-02 Thread Jan-Terje Sørensen
le/commit/5a936bad23271d49083cf69dbbac68c0ce311dd3>. Any suggestions to where to debug? Best regards Jan-Terje Sørensen -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>&g

[akka-user] Re: Separate my command handling

2016-02-25 Thread Jan-Terje Sørensen
I have refactored the code. Can someone please comment and see if I am on to something, EventSourcedPersistenceActor.java ? --

[akka-user] Separate my command handling

2016-02-24 Thread Jan-Terje Sørensen
Hi, As I understand the persistence examples they all end up with all the command handling in one persistence actor. Is it possible to separate this in different command handlers, and still have the

[akka-user] Re: PersistenceQuery.ReadJournal vs PersistentActor.onReceiveRecover

2016-01-04 Thread Jan-Terje Sørensen
Thanks for the clarification :) -- >> 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

[akka-user] Re: Projecting the events from a PersistenceQuery

2016-01-04 Thread Jan-Terje Sørensen
This is how i solved it - EventStore.java and Projection.java

[akka-user] Re: Projecting the events from a PersistenceQuery

2016-01-04 Thread Jan-Terje Sørensen
This is how i solved it for this example ! -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >>

[akka-user] Re: PersistenceQuery.ReadJournal vs PersistentActor.onReceiveRecover

2016-01-01 Thread Jan-Terje Sørensen
Do you have a domain example of when this is usefull? torsdag 31. desember 2015 15.33.15 UTC+1 skrev Jan-Terje Sørensen følgende: > > Hi, > > Both PersistenceQuery.ReadJournal and PersistentActor.onReceiveRecover > handles events. > > As I understand it we shall always use

[akka-user] PersistenceQuery.ReadJournal vs PersistentActor.onReceiveRecover

2015-12-31 Thread Jan-Terje Sørensen
Hi, Both PersistenceQuery.ReadJournal and PersistentActor.onReceiveRecover handles events. As I understand it we shall always use PersisteceQuery when projecting our data. Can anyone please explain when I need to use the PersistentActor.receiveRecover? -- >> Read the docs:

Re: [akka-user] Re: Akka PersistenceQuery java example

2015-12-26 Thread Jan-Terje Sørensen
different types of events. > > On Fri, Dec 25, 2015 at 3:24 PM, Jan-Terje Sørensen <jtbso...@gmail.com > > wrote: > >> Aha! I did not know that different events could have same persistenceId. >> Is the persistenceId the same as an aggregate then? >> >> -

[akka-user] Re: Akka PersistenceQuery java example

2015-12-25 Thread Jan-Terje Sørensen
Thanks Patrik, you where correct. Now that I have confirmed that my events are persisted. How do I use it in an object that extends a PersistenceQuery? And how do I read different types of events (different persistence id) in same persistence query? For example, NewCustomerEstablishedEvent,

[akka-user] Re: Akka PersistenceQuery java example

2015-12-25 Thread Jan-Terje Sørensen
Thanks Patrik, you where correct. Now that I have confirmed that my events are persisted. How do I use it in an object that extends a PersistenceQuery? And how do I read different types of events (different persistence id) in same persistence query? For example, NewCustomerEvent,

[akka-user] Re: Akka PersistenceQuery java example

2015-12-25 Thread Jan-Terje Sørensen
Aha! I did not know that different events could have same persistenceId. Is the persistenceId the same as an aggregate then? -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >>

[akka-user] Re: Akka PersistenceQuery java example

2015-12-24 Thread Jan-Terje Sørensen
Any suggestion on how to solve it? -- >> 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

[akka-user] Re: Akka PersistenceQuery java example

2015-12-24 Thread Jan-Terje Sørensen
The thing that is not working is to read the events from the journal. You can the se work in progress code here . This is how i persist my events: public class

[akka-user] Re: Akka PersistenceQuery java example

2015-12-24 Thread Jan-Terje Sørensen
I have tryed with setting same id's, but still not able to list events. Are you able to show some code on how to solve this? -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >>

[akka-user] Akka PersistenceQuery java example

2015-12-23 Thread Jan-Terje Sørensen
Hi, Now I have gone through Persistence Query , akka-sample and akka-doc