if (exchange.getUnitOfWork() == null) {
// If there is no existing UoW, then we should start one and
// terminate it once processing is completed for the exchange.
UnitOfWork uow = createUnitOfWork(exchange);
exchange.setUnitOfWork(uow);
uow.start();
return uow;
}
return null;
}