if (adapter == null) {
if (log.isDebugEnabled()) {
log.info("There is no registered output adapter for the given type : " +
description.getType() + " . using the POJO Adapter");
}
adapter = new POJOResourceAdapter(); // TODO remove this in a proper way
}
Object resourceValue = ResourceDescriptionEvaluator.evaluate(description, context,
messageInterceptor);
if (resourceValue == null) {