_camelContext.getTypeConverterRegistry()
.addTypeConverter(String.class, BigEndianHeapChannelBuffer.class, new MyConverter());
MockEndpoint mockEndpoint = _camelContext.getEndpoint("switchyard://dummyService", MockEndpoint.class);
producer.sendBody("direct://xpath", new BigEndianHeapChannelBuffer(payload.getBytes()));
Exchange exchange = mockEndpoint.getExchanges().get(0);
CamelOperationSelector selector = new CamelOperationSelector(operationSelectorModel);
QName operation = selector.selectOperation(new CamelBindingData(exchange.getIn()));
Assert.assertNotNull(operation);
Assert.assertEquals("greet", operation.getLocalPart());
} finally {
handler.stop();
}