[
https://issues.apache.org/jira/browse/CAMEL-12880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649421#comment-16649421
]
ASF GitHub Bot commented on CAMEL-12880:
----------------------------------------
GitHub user saravanakumar1987 opened a pull request:
https://github.com/apache/camel/pull/2565
CAMEL-12880 : Atom consumer stops polling
PR for https://issues.apache.org/jira/browse/CAMEL-12880.
Setting a timeout value of 60 seconds to throw exception if connection not
successful so that the scheduled poll consumer restart polling.
Thanks,
Saravanakumar
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/saravanakumar1987/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2565.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2565
----
commit f57fc05e09637c6c94551f7b2f3fdd407a00b957
Author: Saravanakumar Selvaraj <saravanakumar.java@...>
Date: 2018-10-14T14:52:50Z
CAMEL-12880 : Atom consumer stops polling
----
> Atom consumer stops polling
> ---------------------------
>
> Key: CAMEL-12880
> URL: https://issues.apache.org/jira/browse/CAMEL-12880
> Project: Camel
> Issue Type: Bug
> Components: camel-atom
> Affects Versions: 2.22.1
> Reporter: Saravanakumar Selvaraj
> Priority: Major
>
> Camel-atom consumer stops polling for new feeds when a connection error
> occurs.
> It uses java.net.HttpURLConnection without a connection timeout value(The
> default value is 0 i.e. no timeout).
> When network error occur, connection threads hang and it causes
> ScheduledExecutorService stop polling.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)