Hi all,

i´m using the spring-ws component to send a request:

<to uri="spring-ws:..../>

I would like to do a schema validation of the response that this spring-ws
producer (<to>) returns. For that, i´ve defined a CamelEndpointMapping with
the interceptors I need for the validation. 

I have another spring-ws <to> in the same route, and i don´t like using this
endpointMapping for all of them. So i cannot define something like:
<bean id="endpointMapping" .../>

because this would affect all the spring-ws <to>.

I´ve added the endpointMapping to the producer parameters
(endpointMapping=#xxx), but this seems it´s not working, the endointMapping
is not being set. 

Checking the SpringWebserviceComponent class, i´ve seen that the method
addEndpointMappingToConfiguration() is only used inside
addConsumerConfiguration().

Is there any way to add the endpointMapping to the spring-ws producer in an
easy way or should i try to extend this class on my own?

Thank you,
Ana



--
View this message in context: 
http://camel.465427.n5.nabble.com/Spring-ws-producer-Response-schema-validation-tp5728172.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to