Re: [akka-user] Questions regarding Akka persistence module

2014-02-19 Thread dong
Patrik, I think that's doable workaround. Just curious what Martin thinks regarding automatically unwrap Persistent messages in EventsourcedProcessor, or at least let application to hand Persistent messages in receiveCommand instead of throwing errors. On Thursday, February 20, 2014 3:32:34 PM

Re: [akka-user] Questions regarding Akka persistence module

2014-02-19 Thread dong
Martin, let me figure out a empale to make my point. Suppose my app is a trading platform, it has two memory based models - account balances (M1), and pending orders (M2). The deposit/withdraw/createOrder commands shall be handled by M1, lets say after processing a 'crateOrder' event, it reduc

Re: [akka-user] Questions regarding Akka persistence module

2014-02-19 Thread Patrik Nordwall
On Thu, Feb 20, 2014 at 8:03 AM, Martin Krasser wrote: > > On 20.02.14 07:25, dong wrote: > > Martin, thank you for the quick reply. Great work on AKKA persistence, > > > Thanks. > > > we are very likely to use it in production. > > > Glad to hear that. > > > So more questions might come to you

Re: [akka-user] Questions regarding Akka persistence module

2014-02-19 Thread Martin Krasser
On 20.02.14 07:25, dong wrote: Martin, thank you for the quick reply. Great work on AKKA persistence, Thanks. we are very likely to use it in production. Glad to hear that. So more questions might come to you later. 1 - What do you mean " Eventsourced processors do not support c

Re: [akka-user] Questions regarding Akka persistence module

2014-02-19 Thread dong
Martin, thank you for the quick reply. Great work on AKKA persistence, we are very likely to use it in production. So more questions might come to you later. 1 - What do you mean " Eventsourced processors do not support command sourcing. "? In my case, I have two Eventsourced processors

Re: [akka-user] Questions regarding Akka persistence module

2014-02-19 Thread Martin Krasser
Hi dong, On 20.02.14 04:31, dong wrote: I'm been playing with the new Akka persistence module, and have the following questions that I hope to get answered. 1. The document says "If a processor emits more than one outbound message per inbound Persistent message it *must* use a separate

[akka-user] Questions regarding Akka persistence module

2014-02-19 Thread dong
I'm been playing with the new Akka persistence module, and have the following questions that I hope to get answered. 1. The document says "If a processor emits more than one outbound message per inbound Persistent message it *must* use a separate channel for each outbound message to e

Re: [akka-user] Re: Actor Polymorphism

2014-02-19 Thread Konrad Malawski
Pull requested here https://github.com/akka/akka/pull/2023 Tested on a few friends if it's understandable, seems to be ok :-) -- cheers, k -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: http://akka.io/faq/ >> Search the archives: https://group

Re: [akka-user] akka.persistence, snapshots and deleting messages from journal

2014-02-19 Thread dpennell
Agreed - in our legacy system, we have a storage manager that removes old journals and snapshots as space is needed. The old journals are sometimes very useful for postmortem analysis. -david On Wednesday, February 19, 2014 2:45:17 AM UTC-5, Patrik Nordwall wrote: > > You can use deleteMessage

Re: [akka-user] Re: Where is the Java API doc?

2014-02-19 Thread √iktor Ҡlang
Hi Holger, they are published as javadoc jars, so if you use Maven/Ivy etc you can have them automatically downloaded, or download them manually from Maven Central. On Wed, Feb 19, 2014 at 1:58 PM, wrote: > Am Mittwoch, 19. Februar 2014 13:41:46 UTC+1 schrieb Pierre-Yves Saumont: >> >> http://

[akka-user] Re: Where is the Java API doc?

2014-02-19 Thread holger . peine
Am Mittwoch, 19. Februar 2014 13:41:46 UTC+1 schrieb Pierre-Yves Saumont: > > http://doc.akka.io/japi/akka/2.3.0-RC3/ Thanks! So it seems that the Java API docs are not included in the Akka download package. Can I download them as a separate package, or is there just the online version? -- >>

[akka-user] Where is the Java API doc?

2014-02-19 Thread Pierre-Yves Saumont
http://doc.akka.io/japi/akka/2.3.0-RC3/ -- >> 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

Re: [akka-user] Where is the Java API doc?

2014-02-19 Thread √iktor Ҡlang
Hi Holger, I recommend to use Typesafe Activator if you want to get started: http://typesafe.com/platform/getstarted On Wed, Feb 19, 2014 at 12:42 PM, wrote: > I'm relatively new to Akka, and I just downloaded akka-2.3.0-RC3 from the > Akka home page with the intention to use it from Java. How

[akka-user] Type Mismatch with actor creator function

2014-02-19 Thread Erik Peterson
Using 2.3.0RC3 and a onePerRequest strategy (using spray). The code below was working fine until I did some code refactoring elsewhere in the project and the following actor creator function started to cause a compile error. def myapi(msg: Msg): Route = ctx => perRequest(ctx, Props(new Busines

[akka-user] Where is the Java API doc?

2014-02-19 Thread holger . peine
I'm relatively new to Akka, and I just downloaded akka-2.3.0-RC3 from the Akka home page with the intention to use it from Java. However, that distribution does not appear to contain the API docs for the Java API. Where can I find those, please? Regards, Holger Peine -- >> Read t

Re: [akka-user] Re: Actor Polymorphism

2014-02-19 Thread Jonas Bonér
Great Konrad. You understood my hint :-) Thanks -- Jonas Bonér Phone: +46 733 777 123 Home: jonasboner.com Twitter: @jboner On Feb 18, 2014 11:26 PM, "Konrad Malawski" wrote: > There's far less dumb questions than there are dumb answers :-) > @Jonas: Cool! Perhaps an example like the above woul

Re: [akka-user] Confusion about [default dispatcher]

2014-02-19 Thread Patrik Nordwall
What you see is expected. default-dispatcher is like a thread pool, and what you see the threads of that pool. /Patrik On Wed, Feb 19, 2014 at 5:21 AM, zicun wrote: > Hi All, > > I've search sites a bit for help sloveing my confusion, but haven't found > anything very clear. So I tought I'd pos

Re: [akka-user] Passing a reference of LookupServiceImpl into an Untyped Actor and then publish the message to the subscribers

2014-02-19 Thread Patrik Nordwall
Hi Sree, It should be perfectly fine to use it inside an actor. I can't see what is wrong. Your LookupBusImpl can't be the same as the sample, as it knows about your TestEvent, so it could be a bug in your implementation of LookupBusImpl. Another thing might be that you have not defined any type p