Re: camel-jsonpath to filter classname with path

2017-03-15 Thread Claus Ibsen
Hi Look at the jsonpath project and the syntax it uses, its not a Camel question you have but a json path question. On Wed, Mar 15, 2017 at 9:55 AM, partha006 wrote: > My route to filter the json classname with class is > > > > >

Re: camel-jsonpath gives error when you add the dependency to the pom file

2016-02-04 Thread Claus Ibsen
See the mvn dependency:tree of camel-jsonpath and you can see its part of json-smart and it should be on the classpath. On Wed, Feb 3, 2016 at 12:31 PM, souciance wrote: > Hello, > > I have added the following dependency to my pom.xml. > > > org.apache.camel > camel-jsonpath >

Re: camel-jsonpath gives error when you add the dependency to the pom file

2016-02-03 Thread souciance
Note that it seems I had to add: org.ow2.asm asm-commons 5.0.3 runtime in order for this to work. But I am guessing this cannot be the correct way or? -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsonpath-gives-error-when-you-add-

Re: camel jsonpath

2014-04-03 Thread Willem Jiang
Here is an example that you can take a look, the jsonpath should work in camel-2.13.0. https://github.com/apache/camel/blob/master/components/camel-jsonpath/src/test/resources/org/apache/camel/jsonpath/SpringJsonPathCBTTest.xml -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: ht

Re: camel jsonpath

2014-04-03 Thread Lydie
it does not find json-path in the schema By the way Would you know the response to my other question about xpath. I transformed my json in xml but I have an issue to use xpath -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsonpath-tp5749674p5749756.html Sent from the

Re: camel jsonpath

2014-04-03 Thread Willem Jiang
Can you submit a simple test case to show us the error that you faced? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 4, 2014 at 10:33:51 AM, Lydie (lprev.

Re: camel jsonpath

2014-04-03 Thread Lydie
no and it does not work! -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsonpath-tp5749674p5749753.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel jsonpath

2014-04-03 Thread Willem Jiang
No, you don’t need to do anything. I just have a quick question for it. Do you use blueprint to define your camel route? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁wille

Re: camel jsonpath

2014-04-03 Thread Lydie
I am using camel 2.13.0 What else do I need to do? I added the dependencies in the pom file should I add the schema? -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsonpath-tp5749674p5749737.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel jsonpath

2014-04-02 Thread Gnanaguru S
1. May be your jsonpath syntax is wrong, refer here: https://camel.apache.org/jsonpath.html 2. If not possible to use it inside log, then store it in a header using setHeader and call the headername cheers Guru -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsonpath-t

Re: camel jsonpath

2014-04-02 Thread Willem Jiang
I just found the camel apache site schema need to be updated with the latest one and did a quick fix of it. Please make sure you are using Camel 2.13.0. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitt

Re: camel jsonpath

2014-04-02 Thread Willem Jiang
Hi,  Which version of Camel are you using? camel-jsonpath was just added since Camel 2.13.0. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 3, 2014 at 8:2

Re: camel jsonpath

2014-04-02 Thread Lydie
I don t see any reference to jsonpath here: cvc-complex-type.2.4.a: Invalid content was found starting with element 'jsonpath'. One of '{"http://camel.apache.org/schema/ spring":description, "http://camel.apache.org/schema/spring":expressionDefinition, "http://camel.apache.org/schema/ spring":c

Re: camel jsonpath

2014-04-02 Thread Lydie
Well I have realized that my camel-context has an issue: $.RouteConfiguration[?] Invalid content

Re: camel-jsonpath

2014-03-21 Thread Claus Ibsen
Hi Its there in maven central. http://search.maven.org/#artifactdetails%7Corg.apache.camel%7Ccamel-jsonpath%7C2.13.0%7Cbundle Are you sure you did it correct? On Sat, Mar 22, 2014 at 12:47 AM, Lydie wrote: > Hello, > > I have added camel-jsonpath in my pom.xml file but it complains of: > "Missi

Re: camel-jsonpath

2014-03-21 Thread Reji Mathews
Try adding following to the POM com.jayway.jsonpath json-path 0.9.1 On 22 Mar 2014 05:17, "Lydie" wrote: > Hello, > > I have added camel-jsonpath in my pom.xml file but it complains of: > "Missing artifact org.apache.camel:camel-jsonpath" > > Should I add a repository? > > Thanks, > > Lydie >