I have the following use case in Mule ESB –
- Expose a SOAP endpoint
- Depending on a attribute in the SOAP request do conditional routing
a. If the parameter value is ‘a’ then get response from one outbound webservice
b. If parameter value is ‘b’ then get responses from multiple outbound services and aggregate them using a custom aggregation.
How do i go about doing this using Mule ESB?
To get you started, here are some relevant user guide pages:
Conditional routing: http://www.mulesoft.org/documentation/display/MULE3USER/Routing+Message+Processors#RoutingMessageProcessors-Choice
a. Consuming remote web services: http://www.mulesoft.org/documentation/display/MULE3USER/Consuming+Web+Services+with+CXF
b. Custom aggregation: http://www.mulesoft.org/documentation/display/MULE3USER/Routing+Message+Processors#RoutingMessageProcessors-CustomAggregator or alternatively perform several message enrichment with: http://www.mulesoft.org/documentation/display/MULE3USER/Message+Enricher