sql component and delay

2014-03-20 Thread Lydie
: but then I have an empty body when for my choice. Any idea? Thank you, Lydie I -- View this message in context: http://camel.465427.n5.nabble.com/sql-component-and-delay-tp5749161.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: sql component and delay

2014-03-20 Thread Lydie
Thanks a lot Matt! I will look at your project. Lydie From: MattPayneOrg [via Camel] [mailto:ml-node+s465427n574916...@n5.nabble.com] Sent: Thursday, March 20, 2014 4:11 PM To: Lydie Prevost Subject: Re: sql component and delay Lydie -- I have a small learning project[1] around the sql

RE: sql component and delay

2014-03-21 Thread Lydie
Thank you! From: Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n5749170...@n5.nabble.com] Sent: Friday, March 21, 2014 12:10 AM To: Lydie Prevost Subject: Re: sql component and delay Hi If you want to use 2 or more options, then use & to separate them, just as uri parameters you see in

camel-jsonpath

2014-03-21 Thread Lydie
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 -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsonpath-tp5749218.html Sent from

RE: sql component and delay

2014-03-24 Thread Lydie
ocumentLoader.java:75) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388) ... 44 more Same thing with : Any idea? Lydie From: Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n5749170...@n5.nabble.com] Sent: Friday, March 21,

RE: sql component and delay

2014-03-24 Thread Lydie
Thank you it is working! From: Andrew Thorburn [via Camel] [mailto:ml-node+s465427n5749298...@n5.nabble.com] Sent: Monday, March 24, 2014 4:20 PM To: Lydie Prevost Subject: Re: sql component and delay It should be "&consumer.delay=5000". Since you're using XML, you&#x

Karaf 3 camel : waiting for namespace handlers

2014-03-26 Thread Lydie
Hello World when I try to start it I get th efollowing error: waiting for namespace handlers [http://camel.apache.org/schema/spring] It was working fine in Karaf 2.3 What is the issue? Any help would be really appreciated. Lydie -- View this

Re: Karaf 3 camel : waiting for namespace handlers

2014-03-26 Thread Lydie
So I was able to run this simple cmale context by adding: but I still have an issue with this more complicated camel-context: http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://camel.apache.org

camel jsonpath

2014-04-02 Thread Lydie
Hello, I am trying to log a message where I need to access Json: I was trying ${headers.RouteConfiguration[targeturl]}" /> where RouteConfigutation is in Json format. Any idea? Thank you Lydie -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsonpath-t

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-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-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-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.

camel xpath

2014-04-03 Thread Lydie
hello, Mt header has a herder called RouteConfiguration which contains xml ( as string): prints: * enabled*** I am trying to use xpath totest the value of key I have tried this:

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 xpath

2014-04-04 Thread Lydie
Thnaks Claus: So Itried this: /authorizationCheck='enabled' but I still get an error: Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 50; The markup in the document following the root element must be well-f

Re: camel xpath

2014-04-04 Thread Lydie
ok I got it I used the value of the header instead of the header name. Thanks, Lydie -- View this message in context: http://camel.465427.n5.nabble.com/camel-xpath-tp5749754p5749817.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel xpath

2014-04-09 Thread Lydie
So I still have an error: I never go to my first choice: 'enabled': /authorizationCheck='enabled' This what I get when I print my ROUTE_CONFIGURATION_HEADER: 21:17:30,030 INFO [proxy] (qtp1338

Re: camel xpath

2014-04-10 Thread Lydie
I added steam cache =true: but I t still does not work Any idea? -- View this message in context: http://camel.465427.n5.nabble.com/camel-xpath-tp5749754p5750057.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: AW: camel xpath

2014-04-10 Thread Lydie
Thanks Jan, I understand this example but my problem is that the XML piece with the header name as the root and authorizatiobCheck as a element under the header Lydie -- View this message in context: http://camel.465427.n5.nabble.com/camel-xpath-tp5749754p5750058.html Sent from the Camel

Re: AW: camel xpath

2014-04-10 Thread Lydie
I understand but my issue is that it is in the header I can do it otherwise My issue is in combining xpath with headername Lydie -- View this message in context: http://camel.465427.n5.nabble.com/camel-xpath-tp5749754p5750065.html Sent from the Camel - Users mailing list archive at

Re: AW: camel xpath

2014-04-10 Thread Lydie
in camel example here : xmlns="http://camel.apache.org/schema/blueprint"*> /invoice/@orderType = 'premium' /invoice/@orderType = 'standard' my example uses xmlns="http:/

simple predicate header

2014-04-10 Thread Lydie
I am trying to get a choice based on the value in a header: ${header.Authorization} == 'enabled' where when I log the value with : I get 3:55:05,022 INFO [proxy] (qt