Hi Kostas,

Currently there is no such DSL, but this is actually something we already
started experimenting with. I hope that we can come up with something easy
to use in the near future.

-Endre

On Mon, Jun 1, 2015 at 5:09 PM, Kostas kougios <
[email protected]> wrote:

> Hi, I need to create a flow of messages, my current usecase is that I get
> a msg in one of my actors which in turn has to send a similar message to
> the cluster (I am also using akka-cluster) and upon confirmation from all
> cluster members to do some local changes and then reply back to the sender.
> But my use case might become more complex in the future.
>
> So apart from using a separate FSM actor (my current actor is not FSM), is
> there any higher level api that can do
>
> broadcast(msg).expectFromAll { case Reply=> true }.andThen(... do local
> changes...).andThen(reply to sender).onTimeout(...fail...)
>
> a bit of googling didn't reveal anything like that.
>
> Thanks
>
> --
> >>>>>>>>>> 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.
>



-- 
Akka Team
Typesafe - Reactive apps on the JVM
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      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.

Reply via email to