*/
protected EndpointResolver createEndpointResolver() {
// lets construct a resolver if any of the output
if (destinationService != null) {
if (destinationEndpoint != null) {
return new ServiceAndEndpointNameResolver(destinationService, destinationEndpoint);
}
else {
return new ServiceNameEndpointResolver(destinationService);
}
}