if (producer.getConfiguration().isTextline()) {
try {
body = producer.getContext().getTypeConverter().mandatoryConvertTo(String.class, exchange, body);
} catch (NoTypeConversionAvailableException e) {
exchange.setException(e);
callback.done(false);
}
}
// set the result on either IN or OUT on the original exchange depending on its pattern