* Configure message sender for wsa:replyTo from a camel route definition.
* The route definition has priority over this endpoint.
*/
@Override
protected WebServiceMessageSender[] getMessageSenders(Object endpoint) {
SpringWebserviceEndpoint camelEndpoint = getSpringWebserviceEndpoint(endpoint);
if (camelEndpoint.getConfiguration().getMessageSender() != null) {
return new WebServiceMessageSender[] {camelEndpoint.getConfiguration().getMessageSender()};
}
return super.getMessageSenders(endpoint);
}