Re: need help with error handling

2013-04-08 Thread Nico Mommaerts
Yeah I added allowStreaming=false explicitly to my endpoints now, but I don't think they were running in streaming mode cause I was able to modify the SOAP header Anyways, the problem with the logging level mysteriously seems to be solved, even when I remove the allowStreaming option again. The we

Re: need help with error handling

2013-04-08 Thread Claus Ibsen
See the bottom of the camel-cxf wiki page, about Streaming Support in PAYLOAD mode On Mon, Apr 8, 2013 at 3:08 PM, Nico Mommaerts wrote: > No I don't think I'm running in streaming mode: > http://camel.apache.org/schema/spring"; > streamCache="false" trace="false"> > > > > >

Re: need help with error handling

2013-04-08 Thread Nico Mommaerts
No I don't think I'm running in streaming mode: http://camel.apache.org/schema/spring"; streamCache="false" trace="false"> On Mon, Apr 8, 2013 at 2:29 PM, Claus Ibsen wrote: > Hi > > Sounds like you use camel-cxf / CXF in streaming mode. > See the top of this page, the

Re: need help with error handling

2013-04-08 Thread Claus Ibsen
Hi Sounds like you use camel-cxf / CXF in streaming mode. See the top of this page, the green tip bar, and its link(s) http://camel.apache.org/cxf On Fri, Apr 5, 2013 at 2:33 PM, Nico Mommaerts wrote: > Hey, > > I've been reading the chapter on Error handling over and over but I'm still > fail

Re: need help with error handling

2013-04-05 Thread Nico Mommaerts
This is..frustrating Putting the redeliveryDelay at 5000 solves the Missing operation fault, but I'm talking to a mock soapui service which always return the same response, how can the redeliveryDelay influence this?? To recap: I got redelivery working if I put the loglevel of org.apache.camel.pr

Re: need help with error handling

2013-04-05 Thread Nico Mommaerts
log4j.logger.org.apache.camel.processor.SendProcessor=DEBUG => some redelivery seems to be happening but still getting errors: org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: http://schemas.xmlsoap.org/soap/envelope/";>

Re: need help with error handling

2013-04-05 Thread Nico Mommaerts
I'm getting nearer: from("cxf:bean:brokerOrderLimit?dataFormat=PAYLOAD") .onException(SoapFault.class) .onWhen(thalerLoginExceptionPredicate) .handled(true) .maximumRedeliveries(3) .redeliveryDelay(100) .retryAttemptedLogLevel(LoggingLevel.WARN) .onRedelivery(new Processor() { @Override public

need help with error handling

2013-04-05 Thread Nico Mommaerts
Hey, I've been reading the chapter on Error handling over and over but I'm still failing miserably.. My scenario: a cxf proxy route which modifies the soapheaders, I want all soapfaults to be returned as-is to the caller, except when the soapfault contains a certain string. In that case I want to