Hi Jeff,

The attributes apply to the whole graph that you call .withAttributes on, using 
".via" allows you to scope it as you need it.

Regards,

Roland 

Sent from my iPhone

> On 24 Apr 2015, at 23:59, Jeff <[email protected]> wrote:
> 
> What is the scope of .withAttributes()? Does it only apply to the stage that 
> it is called on, or every stage up to that point? For Example
> 
> Sink.empty.transform(() => ...).transform(() => 
> ...).withAttributes(ActorOperationAttributes.dispatcher("test-dispatcher"))
> 
> Are all the transformation stages run under "test-dispatcher", or just the 
> last one? If I only want to apply the attributes to a single stage, should I 
> use .via()?
> 
> Thanks
> Jeff
> -- 
> >>>>>>>>>> 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.

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