Hello there,

I could not find answer to this particular question neither in docs nor in 
this group:

Is it possible to wire Sink.actorSubscriber(...) into 
Source.actorPublisher(...) in one (Partial-) Flow? And by 'wire' I mean to 
somehow send message from ActorSubscriber, instantiated from given props, 
to the 'same flow' instance of ActorPublisher?

I was thinking about giving some unique Id to both of them and then 
publish/subscribe events through `context.system.eventStream`, but then I 
realized that all materialized flows would have same Id and messages would 
mess up... :(

In fact, I'm interested in even more simple task -- create an Actor, that 
could act as PartialFlow[In, Out]: when you push a value into flow, actor 
receives it, processes and sends further down the line.

Of course, I always could do something like Flow[In] mapAsync (data => 
(actor ? data).mapTo[classOf[Out]]) -- but I would really, really prefer to 
do this message way.

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