Logger log = LoggerFactory.getLogger(TestHelper.class);
protected void sendText(final String fragment, CamelContext context) throws Exception {
ProducerTemplate template = context.createProducerTemplate();
template.start();
template.send("direct:start", new Processor() {
public void process(Exchange exchange) throws Exception {
// Set the property of the charset encoding
exchange.setProperty(Exchange.CHARSET_NAME, "UTF-8");
Message in = exchange.getIn();
in.setBody(fragment);