Hello,

I've been writing some simple code using FlexiMerge/FlexiRoute, and I'm 
wondering why both have a single required "OperationAttributes" parameter? 
Maybe there should be a * at the end to allow 0-* such parameters?
For lack of a better value, I'm currently using OperationAttributes.name, 
but that makes the code a bit noisy, as I already have to name the shape, 
e.g.:

class SplitRoute[T](splitFn: T => Either[T, T]) extends FlexiRoute[T, 
FanOutShape2[T, T, T]](
  new FanOutShape2("SplitRoute"), OperationAttributes.name("SplitRoute")) { 
... }

A side-question, I'm not really sure why this is so, but when I have a 
Merge, I can just do:

in ~> merge ~> out

But when I have a FlexiMerge, I need to do:

in ~> flexiMerge.in0
         flexiMerge.out ~> out

it seems Merge's shape is also an Inlet, but I can't find that in the code 
:)

-- 
Thanks,
Adam

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