Claus Ibsen created CAMEL-10827:
-----------------------------------
Summary: camel-twitter - The timeline should defer its first poll
to after Camel is started
Key: CAMEL-10827
URL: https://issues.apache.org/jira/browse/CAMEL-10827
Project: Camel
Issue Type: Improvement
Components: camel-twitter
Reporter: Claus Ibsen
If using twitter:timeline/mention then it polls in any mentions during starting
the route. We should defer this to the first poll after the route is started,
so Camel startup faster and let other routes startup quickly too, eg
{code}
2017-02-14 11:23:07.853 INFO 15118 --- [ main] route1
: I was mentioned by Fri May 22 09:40:47 CEST 2015
(akoufoudakis) I just became a certified expert in Apache Camel (@cameltweet)
development. Thanks @RedHatNL for making it possible. http://t.co/uBsZZ7c3QA
2017-02-14 11:23:08.082 INFO 15118 --- [ main] route1
: I was mentioned by Wed Apr 15 15:31:58 CEST 2015
(akoufoudakis) Good to know Apache Camel (@cameltweet) is used by @netflix.
http://t.co/2X34674nDH. Another accomplishment for the community.
2017-02-14 11:23:08.282 INFO 15118 --- [ main]
o.a.camel.spring.SpringCamelContext : Route: route1 started and consuming
from: twitter://timeline/mentions
2017-02-14 11:23:08.282 INFO 15118 --- [ main]
o.a.camel.spring.SpringCamelContext : Total 1 routes, of which 1 are
started.
{code}
Those twitter mentions that are logged should come after the route is started
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)