Hi Willem,
Thanks for posting the unit test. I am wondering if I am getting the error
because I am using a one-way exchange. For example, I also tried this with
a producer template:
senderExchange = new DefaultExchange(context,
ExchangePattern.InOnly);
enderExchange.getIn().setBody(exchange.getIn().getBody());
ProducerTemplate template = context.createProducerTemplate();
senderExchange.getIn().setHeader(CxfConstants.OPERATION_NAME,
getOperationName());
senderExchange.getIn().setHeader(CxfConstants.OPERATION_NAMESPACE,
getOperationNamespace());
Exchange returnExchange = template.send("cxf:bean:" +
destinationEndpoint
+ "?dataFormat=PAYLOAD",
senderExchange);
With this InOnly pattern, the exception doesn't get back to me.
Thanks,
Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Propogate-CXF-Exception-to-Camel-tp5491102p5491276.html
Sent from the Camel - Users mailing list archive at Nabble.com.