Ok, I will try older java version and write here about results.
Yes, i use 'onException' definition in global scope:
onException(Exception.class).handled(true).process(new
FaultProcessor());
this string places just before route definition.
Here is my HeaderSetterProcessor.java
<http://camel.465427.n5.nabble.com/file/n5737918/HeaderSetterProcessor.java>
. There I set header options for cxf endpoint and there is code that i found
in camel sources and pasted there because it doesn't work under the hood for
some reasons.
Thank for your participation.
Best,
Valery
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-throws-StackOverflowException-while-converting-message-body-tp5737854p5737918.html
Sent from the Camel - Users mailing list archive at Nabble.com.