Hi Joseph, please respond on the same thread to keep continuity.
For the Servlet communicating with the actor, I'd propose to use Inbox: http://doc.akka.io/docs/akka/2.3.14/java/untyped-actors.html#The_Inbox On Mon, Oct 19, 2015 at 3:49 AM, Joseph Mansigian < [email protected]> wrote: > Hello Victor, > > Thank you for your reply. Based on your response I think that I did not > express very well what I am seeking. Being able to have the servlet send a > message to an actor and vice versa would be perfectly Okay. I am searching > for some code that would be a model of how to effect this interaction in > which the servlet would always initiate the interaction with a message and > then the actor would reply. What I am saying is I don't know the technique > for sending and receiving messages from inside a servlet. Would be greatly > helped by example. Perhaps I should look at some Play code that must do > this. Thank you for your attention to this. > > Joe Mansigian > > On Sun, Oct 18, 2015 at 1:33 PM, <[email protected]> wrote: > >> [email protected] >> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/akka-user/topics> >> Google >> Groups >> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> >> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> >> Today's topic summary >> View all topics >> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/akka-user/topics> >> >> - Proposed major simplification of the Akka Streams FlowGraph APIs >> <#1507dc9ede05a829_1507c032c1327adf_group_thread_0> - 4 Updates >> - No Tests to run for MultiJvm >> <#1507dc9ede05a829_1507c032c1327adf_group_thread_1> - 2 Updates >> - No Tests to run for MultiJvm >> <#1507dc9ede05a829_1507c032c1327adf_group_thread_2> - 1 Update >> - Behavior of Akka when you sleep in an actor >> <#1507dc9ede05a829_1507c032c1327adf_group_thread_3> - 1 Update >> - Servlet and Actor >> <#1507dc9ede05a829_1507c032c1327adf_group_thread_4> - 2 Updates >> >> Proposed major simplification of the Akka Streams FlowGraph APIs >> <http://groups.google.com/group/akka-user/t/5dcaa80d6ddcb0f9?utm_source=digest&utm_medium=email> >> Viktor Klang <[email protected]>: Oct 17 10:57PM +0200 >> >> Hi everyone, >> >> I'm proposing the following (breaking) changes to the FlowGraph-related >> APIs, in order to make it consistent, with a smaller surface area and with >> more obvious demarcation of ...more >> <http://groups.google.com/group/akka-user/msg/188cc2cccf638?utm_source=digest&utm_medium=email> >> Adam <[email protected]>: Oct 18 12:36AM -0700 >> >> Hi, >> >> >> >> I like most of the described changes. >> >> Here are my personal reservations: >> >> >> >> 1. I prefer a single method name with many overloads over many method >> names >> that say what are the ...more >> <http://groups.google.com/group/akka-user/msg/1aba84e0dfea2?utm_source=digest&utm_medium=email> >> Viktor Klang <[email protected]>: Oct 18 01:14PM +0200 >> >> Hi Adam, >> >> Thanks for your feedback! >> Responses inline >> >> >> > I like most of the described changes. >> >> > Here are my personal reservations: >> >> > 1. I prefer a single method name with many overloads ...more >> <http://groups.google.com/group/akka-user/msg/1b7a3ad894b5b?utm_source=digest&utm_medium=email> >> "אדם חונן" <[email protected]>: Oct 18 06:57PM +0300 >> >> Ah.. I didn't think of that type erasure issue. Makes sense. >> >> RxJava doesn't have a graph DSL as far as I know. >> I'm guessing you'd have to use Subjects to implement something similar to >> ...more >> <http://groups.google.com/group/akka-user/msg/1c7087b69e2f5?utm_source=digest&utm_medium=email> >> Back to top <#1507dc9ede05a829_1507c032c1327adf_digest_top> >> No Tests to run for MultiJvm >> <http://groups.google.com/group/akka-user/t/1967c8b57da8692?utm_source=digest&utm_medium=email> >> Harit Himanshu <[email protected]>: Oct 17 10:18PM -0700 >> >> Hello everyone, >> >> I started learning akka-cluster today and was trying to write the >> multi-ivm >> test. >> I followed all through the document but when I run my application, I see >> >> >> ...more >> <http://groups.google.com/group/akka-user/msg/1a41f33219287?utm_source=digest&utm_medium=email> >> [email protected]: Oct 18 08:22AM -0700 >> >> You need create the node class: >> class: >> >> class SimpleClusterListenerSpecMultiJvmNode1 extends >> SimpleClusterListenerSpec >> class SimpleClusterListenerSpecMultiJvmNode2 extends ...more >> <http://groups.google.com/group/akka-user/msg/1c51deb72372a?utm_source=digest&utm_medium=email> >> Back to top <#1507dc9ede05a829_1507c032c1327adf_digest_top> >> No Tests to run for MultiJvm >> <http://groups.google.com/group/akka-user/t/cfab215b7517170a?utm_source=digest&utm_medium=email> >> Harit Himanshu <[email protected]>: Oct 17 10:16PM -0700 >> >> Hello everyone, >> >> I started learning akka-cluster today and was trying to write the >> multi-ivm >> test. >> >> I followed all through the document ...more >> <http://groups.google.com/group/akka-user/msg/1a4020d55af72?utm_source=digest&utm_medium=email> >> Back to top <#1507dc9ede05a829_1507c032c1327adf_digest_top> >> Behavior of Akka when you sleep in an actor >> <http://groups.google.com/group/akka-user/t/62b5fb43f2f62e70?utm_source=digest&utm_medium=email> >> Konrad Malawski <[email protected]>: Oct 18 02:29AM +0200 >> >> On Thu, Oct 15, 2015 at 4:44 AM, Fahimeh Rahemi <[email protected]> >> wrote: >> >> > Please let me see if I understand your answer correctly, do you mean >> that >> > if I use thread.sleep(5000) inside ...more >> <http://groups.google.com/group/akka-user/msg/19469236d8251?utm_source=digest&utm_medium=email> >> Back to top <#1507dc9ede05a829_1507c032c1327adf_digest_top> >> Servlet and Actor >> <http://groups.google.com/group/akka-user/t/8fbae87b05996113?utm_source=digest&utm_medium=email> >> Joseph Mansigian <[email protected]>: Oct 17 02:27PM -0700 >> >> Is it possible for the same Java class to be both a servlet ( in my case >> a >> servlet interacting with embedded Jetty ) and an Akka actor. Is there >> example code for making such a class ? Thank ...more >> <http://groups.google.com/group/akka-user/msg/18a6b31126bb0?utm_source=digest&utm_medium=email> >> Viktor Klang <[email protected]>: Oct 17 11:30PM +0200 >> >> Hi Joseph, >> >> that would not make sense as it would violate encapsulation of the Actor. >> What you can do however is to write a Servlet that sends messages to an >> Actor. >> >> On Sat, Oct 17, 2015 at ...more >> <http://groups.google.com/group/akka-user/msg/18a9e26d340aa?utm_source=digest&utm_medium=email> >> Back to top <#1507dc9ede05a829_1507c032c1327adf_digest_top> >> You received this digest because you're subscribed to updates for this >> group. You can change your settings on the group membership page >> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/akka-user/join> >> . >> To unsubscribe from this group and stop receiving emails from it send an >> email to [email protected]. >> > > -- > >>>>>>>>>> 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 because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Cheers, √ -- >>>>>>>>>> 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 because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
