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

Re: sql component and delay

2014-03-24 Thread Andrew Thorburn
xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388) >... 44 more > > > > Same thing with : >

RE: sql component and delay

2014-03-24 Thread Lydie
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 the web browser address bar etc. See more details at http://camel.apache.org/how-do-i-configure-endpoint

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

Re: sql component and delay

2014-03-21 Thread Claus Ibsen
Hi If you want to use 2 or more options, then use & to separate them, just as uri parameters you see in the web browser address bar etc. See more details at http://camel.apache.org/how-do-i-configure-endpoints.html So it should be ?consumer.onConsume={{sql.oracle.markPart}}&consumer.delay=5000

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-20 Thread Matt Payne
Lydie -- I have a small learning project[1] around the sql component that uses an in memory Derby database. I noticed[2] that I needed to split things up like this: from("direct:processOrderRows") .to("sql:{{sqlstmt.selectOrder}}?dataSource=#dataSource&template.maxRows=10") .spli