I have a spring integration application (outbound soap gateway). It calls a 3rd party SOAP
web service which exposes multiple SOAP actions. How can I specify SOAP action dynamically or map it to different API call in the Spring gateway so that I don't have to rewrite channels/spring integration logic for every action.
I have search for examples and have a hunch that manipulating header-enricher
might be useful here. But I am unable to find a specific example for it or if it is the right thing to do.
My environment is Java6
, Spring Integration 4.2.0
Any help would be appreciated!