Re: camel route with camel version 2.16.0 is polling directory, but not readingany files from sftp location. the same code works fine using the camel version 2.15.3

2017-03-22 Thread Himanshu Mittal
I assume that issue would have been resolved now. In case it is not change your source uri from : from("sftp://hostname/home/mydir/xmls?username=username=password;) to: from("sftp://hostname//xmls?username=username=password") Suppose user login directory is: home/mydir/ and Polling directory is

Re: jsonpath expressions in when() clause

2017-03-22 Thread souciance
If you look at the jsonpath documentation you can see there is a not equals operator you can use. https://github.com/jayway/JsonPath But for your case, can you not just write: .when().jsonpath("$.table.length()>0") On Wed, Mar 22, 2017 at 4:21 PM, rafaeltuelho [via Camel] <

Re: Rollback in Multicast after catching an exception

2017-03-22 Thread Claus Ibsen
Try with in the on exception so you tell Camel both to handle the exception but to mark the tx as rollback On Wed, Mar 22, 2017 at 8:01 PM, hammod wrote: > I have the following routes: > > > > >

Rollback in Multicast after catching an exception

2017-03-22 Thread hammod
I have the following routes:

Re: Message is lost while the connection to ActiveMQ is refreshed

2017-03-22 Thread hammod
Yes it is transacted -- View this message in context: http://camel.465427.n5.nabble.com/Message-is-lost-while-the-connection-to-ActiveMQ-is-refreshed-tp5795808p5795895.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ExchangeTimedOutException

2017-03-22 Thread Ryan T
Any other advice out there as to the problem I am trying solve? -- View this message in context: http://camel.465427.n5.nabble.com/ExchangeTimedOutException-tp5795836p5795893.html Sent from the Camel - Users mailing list archive at Nabble.com.

jsonpath expressions in when() clause

2017-03-22 Thread rafaeltuelho
Hi. How can I negate a Jsonpath expression in when() clause? Actually I need to test if a returned json body has a given array not empty... I coulnd not find a valid JSON expression to do this... I'm using this: -- View this message in context: