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 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 On Thu, Mar 20, 2014 at 11:31 PM, Lydie <[hidden email]</user/SendEmail.jtp?type=node&node=5749170&i=0>> wrote: > Hello, > > I am trying to pull data from a database and mark rows as processed : > > > This is working > I am trying to use a specific delay in between each poll: > > ?consumer.onConsume={{sql.oracle.markPart}} ?consumer.delay=5000 > > > How can I do both? > I tried: > > > > It does not work. > I also try to use direct: 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [hidden email]</user/SendEmail.jtp?type=node&node=5749170&i=1> Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io ________________________________ If you reply to this email, your message will be added to the discussion below: http://camel.465427.n5.nabble.com/sql-component-and-delay-tp5749161p5749170.html To unsubscribe from sql component and delay, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5749161&code=bHByZXZvc3RAY29tcGxldGVnZW5vbWljcy5jb218NTc0OTE2MXwxNjI1NjE1Mjg2>. NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> ________________________________ The contents of this e-mail and any attachments are confidential and only for use by the intended recipient. Any unauthorized use, distribution or copying of this message is strictly prohibited. If you are not the intended recipient please inform the sender immediately by reply e-mail and delete this message from your system. Thank you for your co-operation. -- View this message in context: http://camel.465427.n5.nabble.com/sql-component-and-delay-tp5749161p5749207.html Sent from the Camel - Users mailing list archive at Nabble.com.