if (isJaxbType(value.getClass()) && isNotStreamCacheType(type)) {
return marshall(type, exchange, value);
}
}
} catch (Exception e) {
throw new TypeConversionException(value, type, e);
}
// should return null if didn't even try to convert at all or for whatever reason the conversion is failed
return null;
}