Now, your producer will generate MTOM message with otpmized attachments.
You can append query options to the URI in the following format, Camel 2.10: Sets the socket read timeout (in milliseconds) while invoking a webservice using the producer, see Read Timeout() and Commons Http Message Read Timeout().
Camel 2.12: The built-in message sender Option to provide a custom Web Service Template.
This allows for full control over client-side web services handling; like adding a custom interceptor or specifying a fault resolver, message sender or message factory. Only one bean is required in the registry to serve all Camel/Spring-WS endpoints.
This bean is auto-discovered by the Message Dispatcher and used to map requests to Camel endpoints based on characteristics specified on the endpoint (like root QName, SOAP action, etc)Remember if it's a SOAP service you're calling you don't have to include SOAP tags. When a remote web service requires a SOAP action or use of the WS-Addressing standard you define your route as: endpoint to call the Web Service.
Likewise the spring-ws consumer will also enrich the Camel Message with the SOAP header. Spring WS Camel supports propagation of the headers and attachments into Spring-WS Web Service Message response since version 2.10.3.