[jira] Created: (CAMEL-501) ScheduledPollConsumer swallows exceptions

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-501) ScheduledPollConsumer swallows exceptions

JIRA jira@apache.org
ScheduledPollConsumer swallows exceptions
-----------------------------------------

                 Key: CAMEL-501
                 URL: https://issues.apache.org/activemq/browse/CAMEL-501
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 1.3.0
            Reporter: Claus Ibsen


ScheduledPollConsumer.run() swallows any exception thrown from a polling consumer.

{code}
    /**
     * Invoked whenever we should be polled
     */
    public void run() {
        LOG.debug("Starting to poll");
        try {
            poll();
        } catch (Exception e) {
            LOG.warn("Caught: " + e, e);
        }
    }
{code}

See this forum
http://www.nabble.com/Re%3A-svn-commit%3A-r654414---in--activemq-camel-trunk-components-camel-mail-src%3A-main-java-org-apache-camel-component-mail--test-java-org-apache-camel-component-mail--td17121927s22882.html#a17122075



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Work started: (CAMEL-501) ScheduledPollConsumer swallows exceptions

JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-501 started by Jonathan Anstey.

> ScheduledPollConsumer swallows exceptions
> -----------------------------------------
>
>                 Key: CAMEL-501
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-501
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> ScheduledPollConsumer.run() swallows any exception thrown from a polling consumer.
> {code}
>     /**
>      * Invoked whenever we should be polled
>      */
>     public void run() {
>         LOG.debug("Starting to poll");
>         try {
>             poll();
>         } catch (Exception e) {
>             LOG.warn("Caught: " + e, e);
>         }
>     }
> {code}
> See this forum
> http://www.nabble.com/Re%3A-svn-commit%3A-r654414---in--activemq-camel-trunk-components-camel-mail-src%3A-main-java-org-apache-camel-component-mail--test-java-org-apache-camel-component-mail--td17121927s22882.html#a17122075

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (CAMEL-501) ScheduledPollConsumer swallows exceptions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey reassigned CAMEL-501:
-------------------------------------

    Assignee: Jonathan Anstey

> ScheduledPollConsumer swallows exceptions
> -----------------------------------------
>
>                 Key: CAMEL-501
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-501
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> ScheduledPollConsumer.run() swallows any exception thrown from a polling consumer.
> {code}
>     /**
>      * Invoked whenever we should be polled
>      */
>     public void run() {
>         LOG.debug("Starting to poll");
>         try {
>             poll();
>         } catch (Exception e) {
>             LOG.warn("Caught: " + e, e);
>         }
>     }
> {code}
> See this forum
> http://www.nabble.com/Re%3A-svn-commit%3A-r654414---in--activemq-camel-trunk-components-camel-mail-src%3A-main-java-org-apache-camel-component-mail--test-java-org-apache-camel-component-mail--td17121927s22882.html#a17122075

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-501) ScheduledPollConsumer swallows exceptions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey resolved CAMEL-501.
-----------------------------------

    Resolution: Fixed

> ScheduledPollConsumer swallows exceptions
> -----------------------------------------
>
>                 Key: CAMEL-501
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-501
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> ScheduledPollConsumer.run() swallows any exception thrown from a polling consumer.
> {code}
>     /**
>      * Invoked whenever we should be polled
>      */
>     public void run() {
>         LOG.debug("Starting to poll");
>         try {
>             poll();
>         } catch (Exception e) {
>             LOG.warn("Caught: " + e, e);
>         }
>     }
> {code}
> See this forum
> http://www.nabble.com/Re%3A-svn-commit%3A-r654414---in--activemq-camel-trunk-components-camel-mail-src%3A-main-java-org-apache-camel-component-mail--test-java-org-apache-camel-component-mail--td17121927s22882.html#a17122075

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-501) ScheduledPollConsumer swallows exceptions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45812#action_45812 ]

Jonathan Anstey commented on CAMEL-501:
---------------------------------------

Fix in revision 696845.

> ScheduledPollConsumer swallows exceptions
> -----------------------------------------
>
>                 Key: CAMEL-501
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-501
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> ScheduledPollConsumer.run() swallows any exception thrown from a polling consumer.
> {code}
>     /**
>      * Invoked whenever we should be polled
>      */
>     public void run() {
>         LOG.debug("Starting to poll");
>         try {
>             poll();
>         } catch (Exception e) {
>             LOG.warn("Caught: " + e, e);
>         }
>     }
> {code}
> See this forum
> http://www.nabble.com/Re%3A-svn-commit%3A-r654414---in--activemq-camel-trunk-components-camel-mail-src%3A-main-java-org-apache-camel-component-mail--test-java-org-apache-camel-component-mail--td17121927s22882.html#a17122075

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (CAMEL-501) ScheduledPollConsumer swallows exceptions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen closed CAMEL-501.
-----------------------------


> ScheduledPollConsumer swallows exceptions
> -----------------------------------------
>
>                 Key: CAMEL-501
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-501
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> ScheduledPollConsumer.run() swallows any exception thrown from a polling consumer.
> {code}
>     /**
>      * Invoked whenever we should be polled
>      */
>     public void run() {
>         LOG.debug("Starting to poll");
>         try {
>             poll();
>         } catch (Exception e) {
>             LOG.warn("Caught: " + e, e);
>         }
>     }
> {code}
> See this forum
> http://www.nabble.com/Re%3A-svn-commit%3A-r654414---in--activemq-camel-trunk-components-camel-mail-src%3A-main-java-org-apache-camel-component-mail--test-java-org-apache-camel-component-mail--td17121927s22882.html#a17122075

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.