result.expectedBodiesReceived(body);
template.sendBody("direct:charset3", new ByteArrayInputStream(body.getBytes("utf-8")));
// should NOT be okay as we expected utf-8 but got it in utf-16
result.assertIsNotSatisfied();
}
protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {