Example of using Mule ESB to route web service calls

I am looking for an example of how to configure a very simple Mule configuration to route a SOAP web service call from a client to a service provider. Initially, there will be only one provider, and then I want to add several service providers and a round-trip routing strategy to Mule.

In most examples, the Mule site has a service provider running in the Mule container. I want mine to be completely external.

+3
source share
1 answer

If you don't need to decompose the message arguments, use the end-to-end HTTP protocol, which is lighter and much simpler. To implement round-robin, you can use a filter filter with a groovy filter expression.

:

Mule ESB 2.2.1

http://www.mulesoft.org/documentation/display/MULE2USER/Outbound+Routers#OutboundRouters-Filters

+1

Source: https://habr.com/ru/post/1787360/


All Articles