I'm looking to better understand multiple splitters, transformers and aggregation methods in the popular EIP scatter gather.
Use-case is I send in some XML that can correspond to a multitude of different types. I want to split on the type specified in the header (Different for each type) and run it through a specific transformer corresponding to each type.
Are there any good examples within Camel to do something like this?
Pseudo Code Idea
RouteBuilder to process the input XML
Split on the type
Dynamically redirect to proper splitter based on type
Dynamically redirect to proper transformer based on type
Aggregate
Return response