[Component-DSL] Add new branching primitives

These branching primitives will allow to discriminate according to the
incoming values and generate different branches that will be able to
keep their own state, like aggregations or highest values.

The difference with a flatMap is that the latter always _spawns_ new
producers though making it impossible (at least with the current
implementation) to accumulate the highest service references
discriminated by some property.

I don't know if the fact that I had to introduce these primitives is a
signal that I am missing some generalization that could make all these
primitives subject to be abstracted out.

git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1815579 13f79535-47bb-0310-9956-ffa450edef68
13 files changed
tree: 15d2d214d30e0cb6cf7df2ced7ae0c0570f5a53c
  1. component-dsl/
  2. itests/
  3. itests-run/
  4. pom.xml