Not logged in | Login
Integration Flow Language Broadcast Keyword
It is used within the flow definition of a "route" and currently must be the final statement in a route definition
... broadcast do route to "endpoint x" # occurs two or more times end ...
each "route" inside the broadcast receives the same message in parallel. A route keyword is used to allow for further nesting of statements.
The route inside the broadcast can be a code block to define a nested flow. broadcast do route do to "filterInBranch1" # filter to "branch1endpoint" # final provider endoint end route do to "filterInBranch2" # filter to "branch2endpoint" # final provider endoint end end
in effect statements can be nested recursively inside code blocks.