Re: Choice with xpath

2015-08-06 Thread anish.somadevan
Am having a similar issue and i get this error message, java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

Re: SFTP - Twice as many retries as specified in maximumReconnectAttempts

2015-08-06 Thread IgnatiusReilly
Hi Claus, Thanks for your reply. I used 2.14.4-SNAPSHOT and the error persists. Any other ideas? Regards, Ignatius -- View this message in context: http://camel.465427.n5.nabble.com/SFTP-Twice-as-many-retries-as-specified-in-maximumReconnectAttempts-tp5770168p5770395.html Sent from the Camel

RE: Camel XPath....Parsing a part of message Body...

2015-08-06 Thread anish.somadevan
Am having a similar issue and i get this error message, java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

Re: Parsing a XML in DSL

2015-08-06 Thread anish.somadevan
I tried as you suggested, but still i get the same error, /CamelData/Provider/text() Exhausted after delivery attempt: 1 caught: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager: java.lang.ClassCastException: org.apache.xml.d

DSL to dynamically enable/disable parallelProcessing?

2015-08-06 Thread furchess123
Hi, I am using a splitter to read a file. The definition looks something like this: split(). tokenize(System.lineSeparator(), readerConfig.getLinesPerChunk()). streaming(). parallelProcessing(). bean(myProces

Re: action at the end of the split

2015-08-06 Thread Wilson MacGyver
I figured out what I was doing wrong. It's because I was using filter with bean. I didn't realize I had to add an end() to terminate the filtering from() .split(body().tokenize("\n")).streaming() .process() /do stuff .filter().method(MyFilter.class, "keepIt") .to("mock:result") .end() .l

Re: Bus configuration not working for rsClient

2015-08-06 Thread Aki Yoshida
how is your cxf bus named? the following configuration should work for both spring and blueprint. ... 2015-08-04 4:26 GMT+02:00 Aniruddha : > HI Guys, > > we are using cxf rsClient to call a third party REST webservice. The bean is > configured as follows: > > address=

Re: SFTP - Twice as many retries as specified in maximumReconnectAttempts

2015-08-06 Thread Claus Ibsen
Hi Can you try when next release come out, or use a SNAPSHOT as I think this ticket may help https://issues.apache.org/jira/browse/CAMEL-8639 On Fri, Jul 31, 2015 at 4:50 PM, IgnatiusReilly wrote: > Hi, > > I am working on a Camel Route that uses the Sftp component. I have set the > maximumRecon

Nested routeContexts

2015-08-06 Thread hzerbes
Hi together, I need to have a route which calls another route via direct which itself calls another nested route via direct. Is that possible? I always get an exception when deploying my bundle: Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting w

Re: Parsing a XML in DSL

2015-08-06 Thread Gnanaguru S
Looks like your message is not in the expected format. Add a convertBodyTo String before xpath. It should work. -- View this message in context: http://camel.465427.n5.nabble.com/Parsing-a-XML-in-DSL-tp5770368p5770375.html Sent from the Camel - Users mailing list archive at Nabble.com.