On Thu, Apr 23, 2015 at 6:01 PM, Miguel Angel Fernandez < [email protected]> wrote:
> Hi everyone, > > I'm using the version 2.3.4 and I would like to know if there is a way of > subscribing or catching the event of a OversizedPayloadException. The thing > is that a node of the cluster performs an operation in a database and the > result is larger than the configured maximum size. A different node from > the cluster is waiting for the answer, both it's successful and an error > occurs, but it never gets an answer because akka discards the message. I > don't want to increase the maximum size and the idea here is that I prefer > to capture the event and send to the second node the information of the > execution. > > Any ideas? > You can subscribe to the eventStream <http://doc.akka.io/docs/akka/2.3.10/scala/event-bus.html#Event_Stream> of the ActorSystem to see when there is an akka.event.Logging.Error with a OversizedPayloadException as cause. /Patrik > > Thanks in advance > > -- > >>>>>>>>>> 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. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> 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.
