You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cwardle <ch...@utah.gov> on 2008/09/25 23:18:02 UTC
Expected behavior of Ibatis delay option.
The initialDelay option works and polling waits the desired amount of time
before starting.
However, once it starts it doesn't seem to honor the delay options. My
expectation of delay would be that it polls once and then waits the amount
of time specified by delay.
Is this correct?
--
View this message in context: http://www.nabble.com/Expected-behavior-of-Ibatis-delay-option.-tp19678507s22882p19678507.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: [SPAM] RE: [SPAM] Re: Expected behavior of Ibatis delay option.
Posted by Claus Ibsen <ci...@silverbullet.dk>.
Ticket CAMEL-940:
https://issues.apache.org/activemq/browse/CAMEL-940
When I have committed a fix could you test the latest 1.5-SNAPSHOT?
Med venlig hilsen
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: Claus Ibsen [mailto:ci@silverbullet.dk]
Sent: 27. september 2008 08:28
To: camel-user@activemq.apache.org
Subject: [SPAM] RE: [SPAM] Re: Expected behavior of Ibatis delay option.
Hi
Yeah that is currently not supported in iBatis. Whoever wrote it in the first place doesn't extend the ScheduledPollingConsumer.
I will create a JIRA ticket for this so we will get it in the 1.5 soon.
Med venlig hilsen
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: cwardle [mailto:chwardle@utah.gov]
Sent: 26. september 2008 18:03
To: camel-user@activemq.apache.org
Subject: [SPAM] Re: Expected behavior of Ibatis delay option.
I did struggle with that for a few hours. But I did eventually discover that
I needed the "consumer." prefix. So I was using the "consumer.delay=10000"
but it doesn't seem to work it is just constantly polling.
janstey wrote:
>
> Yeah, you're correct but the wiki documentation is wrong :) As of Camel
> 1.4,
> all three iBATIS properties require the "consumer." prefix. See the
> updated
> docs here:
>
> http://cwiki.apache.org/confluence/display/CAMEL/iBATIS
>
> --
> Cheers,
> Jon
>
> http://janstey.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/Expected-behavior-of-Ibatis-delay-option.-tp19678507s22882p19691470.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: [SPAM] Re: Expected behavior of Ibatis delay option.
Posted by Claus Ibsen <ci...@silverbullet.dk>.
Hi
Yeah that is currently not supported in iBatis. Whoever wrote it in the first place doesn't extend the ScheduledPollingConsumer.
I will create a JIRA ticket for this so we will get it in the 1.5 soon.
Med venlig hilsen
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: cwardle [mailto:chwardle@utah.gov]
Sent: 26. september 2008 18:03
To: camel-user@activemq.apache.org
Subject: [SPAM] Re: Expected behavior of Ibatis delay option.
I did struggle with that for a few hours. But I did eventually discover that
I needed the "consumer." prefix. So I was using the "consumer.delay=10000"
but it doesn't seem to work it is just constantly polling.
janstey wrote:
>
> Yeah, you're correct but the wiki documentation is wrong :) As of Camel
> 1.4,
> all three iBATIS properties require the "consumer." prefix. See the
> updated
> docs here:
>
> http://cwiki.apache.org/confluence/display/CAMEL/iBATIS
>
> --
> Cheers,
> Jon
>
> http://janstey.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/Expected-behavior-of-Ibatis-delay-option.-tp19678507s22882p19691470.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Expected behavior of Ibatis delay option.
Posted by cwardle <ch...@utah.gov>.
I did struggle with that for a few hours. But I did eventually discover that
I needed the "consumer." prefix. So I was using the "consumer.delay=10000"
but it doesn't seem to work it is just constantly polling.
janstey wrote:
>
> Yeah, you're correct but the wiki documentation is wrong :) As of Camel
> 1.4,
> all three iBATIS properties require the "consumer." prefix. See the
> updated
> docs here:
>
> http://cwiki.apache.org/confluence/display/CAMEL/iBATIS
>
> --
> Cheers,
> Jon
>
> http://janstey.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/Expected-behavior-of-Ibatis-delay-option.-tp19678507s22882p19691470.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Expected behavior of Ibatis delay option.
Posted by Jon Anstey <ja...@gmail.com>.
Yeah, you're correct but the wiki documentation is wrong :) As of Camel 1.4,
all three iBATIS properties require the "consumer." prefix. See the updated
docs here:
http://cwiki.apache.org/confluence/display/CAMEL/iBATIS
On Thu, Sep 25, 2008 at 6:48 PM, cwardle <ch...@utah.gov> wrote:
>
> The initialDelay option works and polling waits the desired amount of time
> before starting.
>
> However, once it starts it doesn't seem to honor the delay options. My
> expectation of delay would be that it polls once and then waits the amount
> of time specified by delay.
>
> Is this correct?
> --
> View this message in context:
> http://www.nabble.com/Expected-behavior-of-Ibatis-delay-option.-tp19678507s22882p19678507.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Cheers,
Jon
http://janstey.blogspot.com/