Re: Camel throws StackOverflowException while converting message body

2013-09-10 Thread Christian Müller
It looks like your body is a "java.util.Scanner" and you try to convert this into a "java.util.List" what isn't working: ERROR \--> Previous exception on exchangeId: ID-vsedykh-nb-54170-1377503204942-0-2 org.apache.camel.TypeConversionException: Error during type conversion from type: java.util.Sc

Re: Camel throws StackOverflowException while converting message body

2013-08-26 Thread Valery
i tried that, it didn't work. There was the same error but in CxfProducer.class. Code in headerSetterprocessor was copied from CxfProducer (i explained why in comments in HeaderSetterprocessor). Best, valery -- View this message in context: http://camel.465427.n5.nabble.com/Camel-throws-StackO

Re: Camel throws StackOverflowException while converting message body

2013-08-26 Thread Christian Müller
Some thoughts: Instead of using your HeaderSetterProcessor, you could do: from("...") ... .setHeader(CxfConstants.OPERATION_NAMESPACE, constant(" http://invoker.ps.eos.fairisaac.com";)) .setHeader(CxfConstants.OPERATION_NAME, constant("processRequest")) .convertBodyTo(YourPayload.class) ... what

Re: Camel throws StackOverflowException while converting message body

2013-08-26 Thread Valery
I found round way: I replaced camel cxf component call by direct CXF usage in processor. now it works fine. But i will participate in this case and will help you (as posible) to understand and fix it. Thanks, Valery -- View this message in context: http://camel.465427.n5.nabble.com/Camel-throw

Re: Camel throws StackOverflowException while converting message body

2013-08-26 Thread Valery
I change my route in way to exclude HeaderSetterprocessor. it looks like that: from("cxf:/CDAMediationService?serviceClass=" + CDAMediationService.class.getName()) .process(new RequestProcessor()) .log(LoggingLevel.INFO, "Request before transformation:\n${body}")

Re: Camel throws StackOverflowException while converting message body

2013-08-25 Thread Valery
There is FaultProcessor.java And I just tried route with java version 1.7.0_10 - i got the same error, so problem not in java. Best, Valery -- View this message in context: http://camel.465427.n5.nabble.com/Camel-throws-

Re: Camel throws StackOverflowException while converting message body

2013-08-25 Thread Christian Müller
Could you please also share the FaultProcessor. Thanks, Christian Am 25.08.2013 22:09 schrieb "Valery" : > 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 > FaultPr

Re: Camel throws StackOverflowException while converting message body

2013-08-25 Thread Valery
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

Re: Camel throws StackOverflowException while converting message body

2013-08-25 Thread Christian Müller
First of all, Java 1.6.0_20 is really old and some bug fixes behind the latest one which is 1.6.0_43. Please consider to upgrade... Do you use an 'onException' definition (route or global scope) to handle your errors? Can you please share the HeaderSetterProcessor with us!? Best Christian ---

Re: Camel throws StackOverflowException while converting message body

2013-08-24 Thread Valery
Hello, Christian! - I attached complete stack trace in my previous message. I can post it here if you say - i tried version 2.11.0 and 2.11.1 - Java 1.6.0_20 - It's no problem, I can provide this sources Best, Valery -- View this message in context: http://camel.465427.n5.nabble.com/Camel-thr

Re: Camel throws StackOverflowException while converting message body

2013-08-24 Thread Christian Müller
Valery, please have first a look at [1]. We need some more information, if you expect help from us: - Complete stack trace - Which Camel version do you use? - Which java version do you use? - Later, we are may also interested in the RequestProcessor, HeaderSetterProcessor or ResponseProcessor... [