Yes, this was my backup plan -- to create another actor explicitly to act 
as a gatekeeper to the stream. Just wanted to make sure I wasnt taking the 
long way around the fence.

Thank you.

On Tuesday, April 7, 2015 at 7:19:34 AM UTC-4, Akka Team wrote:
>
> Hi Rich,
>
> On Mon, Apr 6, 2015 at 10:15 PM, Rich Henry <[email protected] 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I would like to integrate an ActorPublisher with other actors created 
>> elsewhere, but I can't find a way to fully specify the path of the 
>> materialized ActorRef at configuration time, as the top-level path 
>> component always seems to be generated at runtime (i.e. "$a").
>>
>
> That is not possible to specify. But you can always use that actor as a 
> proxy to your "real" actor. Also, if you don't care about backpressure you 
> can just use Sink.foreach(ref ! _), or you can use (depends on your use 
> case) src.mapAsync(ref ? _).to(Sink.ignore) if a request-ack style 
> communication is enough for you.
>
> -Endre
>  
>
>>
>> Is there a way to configure my Flow in a way where I can predict the full 
>> path for use in an .actorSelection() elsewhere?
>>
>> The only solutions I can see right now is to wrap the Flow in another 
>> explicitly created Actor, which would just be boilerplate, or to find a way 
>> to pass the materialized ActorRef out into the wild via my own registration 
>> function.
>>
>> Any ideas? (and yes I did post a similarly composed question on 
>> StackOverflow here (
>> http://stackoverflow.com/questions/29476654/is-there-a-way-to-get-predictable-actor-naming-with-akka-stream)
>>  
>> and will update that question with any solutions you guys may have)
>>
>>
>> Thanks in advance,
>>
>> Rich Henry
>>
>> -- 
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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