Hi
I am trying out persistentActor and was wondering how to respond to my
clients if the command is successfull or not.
How do you catch a successfully executed command and how do you check to
see if it failed?
Do you put validation in receiveCommand before persist or in the handler?
--
Idar
I am doing something very similar to
https://groups.google.com/forum/#!searchin/akka-user/starttls/akka-user/2385IqTOIXM/udvxMhnjs8cJ
where I need to initiate negotiation when the client requests it (I am
doing it for IMAP). Some questions about the TLS in Akka streams currently:
* I see the
Hi,
I am using Spray client within tomcat. I am wondering if any one has ever
faced this situation. I need to shutdown my spray client when tomcat is
shutdown. However the classic shutdown hook as in
Runtime.getRuntime().addShutdownHook(new Thread() {
override def run() {
For Tomcat 7 and up it is very easy with Servlet 3.0 specification,
basically you create create a listener and annotate it, then just add your
shutdown code in the context destroyed method:
Explained with one example
here: http://www.codejava.net/java-ee/servlet/weblistener-annotation-examples
Hi,
I am wondering what would be the criteria to choose between having several
actor systems in one application over having multiple dispatcher ?
What are the consequence of multiple actor system vs multiple dispatcher ? ( or
advantage)
--
Read the docs: http://akka.io/docs/
Got it , thanks a lot!
在 2015年6月7日星期日 UTC-7上午4:42:52,Akka Team写道:
Hi Leon,
The scan method of FJP will very likely be your top method unless you have
very favorable load patterns for FJP. I wouldn't worry about it, unless you
see a performance problem with your application.
-Endre
On
Thank you looking into it.
But one question into it: how would you reference your actor system from here,
if you actually create it, from within a another class.
Indeed I do not inject the actor system in my class but create it inside it.
Basically it is a class that provide a client to
Hi,
I'm currently using akka-http in version 1.0.0-RC3.
I have to process a multipart/form-data content type in which some fields
appears multiple times.
Until now, I use entity(as[Multipart.FormData]) and I process the
formData with my own process.
Do you have some examples that show how to
Hi all,
I try to use a basic authentication with a bcrypted password extracted
from a database. Unfortunately, the basic authenticationBasicAync directive
calls the authenticator with a UserCredentials via
authenticator(UserCredentials(basic)).
The apply method from the UserCredentials hides