if (exchange != null) {
// REVISIT: serialized message handling not such a
// good idea.
// REVISIT: can there be more than one ep?
ServiceEndpoint ep = exchange.getEndpoint();
CeltixServiceUnit csu = suManager.getServiceUnitForEndpoint(ep);
ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(csu.getClassLoader());
if (csu != null) {
LOG.finest("dispatching to Celtix service unit");
dispatch(exchange, callback);
} else {
LOG.info("no CeltixServiceUnit found");