Hello,
I have a UI Controller that listens to requests from the user, and uses
Akka to talk to some other back end services for request processing.
When I bootstrap my UI, I wire in an ActorSystem object.
When I receive a request from a user, I create an "actor-per-request" using
the wired in ActorSystem as such...
final ActorRef workHandler =
AppActorSystem.actorOf(
RequestActor.props(workId),
"workhandler-" + workId);
mediator.tell(new
DistributedPubSubMediator.Send("/user/ServiceMaster/active", work),
workHandler);
As you can see, I am sending work to the pub sub mediator topic, and
sending in a workHandler so that the service can respond to it (via
getSender() )
This works almost all of the time, but every so often I see that the
service does a getSender().tell and the workHandler never indicates it
received any message. Additionally I see no log messages about deadLetters.
Has anyone seen this behavior? Eventually my workHandler just times out
since it hasn't heard back from the service, but I am wondering why
communication between the two works most of the time then randomly the two
seem to ignore eachother.
--
>>>>>>>>>> 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.