public Message compose(CamelBindingData source, Exchange exchange) throws Exception {
exchange.getContext().setProperty("composeInvoked", true, Scope.EXCHANGE);
return super.compose(source, exchange);
}
};
myMessageComposer.setContextMapper(new CamelContextMapper());
QName serviceName = new QName(_serviceDomain.getName().getNamespaceURI(), "MessageComposerService");
_serviceDomain.registerService(serviceName,
new InOutService(),
new OutboundHandler(bindingModel, (SwitchYardCamelContext) context, myMessageComposer, _serviceDomain) {
{