My flow is as below:
cxfbc:consumer <-> A <-> B or C
Component A :
1. parse in message from cxfbc:consumer
2. construct an external web service call (cxfbu:provider)
3. reconstruct in message content from web service
4. route to component B or C
How to build a component A to achieve my goal?
It seems EIP enrich doesn't fit this case.
I think you can use camel router instead of servicemix-eip component in this case, camel is more powerful.
You can use servicemix-camel JBI component as a bridge to connect JBI component with camel world.