camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Johnson <brad.john...@mediadriver.com>
Subject Re: Polling consumer poll period
Date Wed, 02 Nov 2016 14:21:16 GMT
Kasim,

Have you tried polling a local resource just to see if the results are the
same?  For example, if you poll file://foo.txt with a few lines of text in
it do you still see the 1 minute timeout?  Also, what is happening your
Bean class?  I assume there isn't some long lived process in there.

So if you use, this as a test, what do you see?

    from("timer://mytimer?period=10000")
                  .pollEnrich("file:foo.txt",1000)
                  .log("finish");

On Wed, Nov 2, 2016 at 5:19 AM, cacert <kasimsert@gmail.com> wrote:

> Hi,
>
> Where is this one minute waiting time is coming from. If I disable
> pollingEnrich() then I see timer works as expected(its sending an empty
> exchange every 10 seconds).
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/Polling-consumer-poll-period-tp5789609p5789625.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message