}
private Service locateService(String destination, String operation, Object[] params) throws MessagingException {
Destination serviceDestination = destinationMap.get(destination);
if (serviceDestination == null) {
throw new MessagingException("Service destination: " + destination
+ " is undefined. Have you configured it?");
}
Service service = serviceDestination.getService(operation, params);
return service;
}