You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Alexander Azarov (JIRA)" <ji...@apache.org> on 2010/09/25 14:18:40 UTC

[jira] Created: (CAMEL-3158) PollingConsumerSupport.start() do not get called

PollingConsumerSupport.start() do not get called
------------------------------------------------

                 Key: CAMEL-3158
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3158
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.4.0
            Reporter: Alexander Azarov


I have a subclass of PollingConsumerSupport and create it in a subclass of DefaultPollingEndpoint. The problem is that DefaultPollingEndpoint wraps PollingConsumer into DefaultScheduledPollConsumer and the latter does not call PollingConsumerSupport.start:

DefaultScheduledPollConsumer.java:

    @Override
    protected void doStart() throws Exception {
        pollingConsumer = getEndpoint().createPollingConsumer();
        super.doStart();
    }


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


[jira] Assigned: (CAMEL-3158) PollingConsumerSupport.start() do not get called

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-3158:
----------------------------------

    Assignee: Claus Ibsen

> PollingConsumerSupport.start() do not get called
> ------------------------------------------------
>
>                 Key: CAMEL-3158
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3158
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Alexander Azarov
>            Assignee: Claus Ibsen
>
> I have a subclass of PollingConsumerSupport and create it in a subclass of DefaultPollingEndpoint. The problem is that DefaultPollingEndpoint wraps PollingConsumer into DefaultScheduledPollConsumer and the latter does not call PollingConsumerSupport.start:
> DefaultScheduledPollConsumer.java:
>     @Override
>     protected void doStart() throws Exception {
>         pollingConsumer = getEndpoint().createPollingConsumer();
>         super.doStart();
>     }

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


[jira] Resolved: (CAMEL-3158) PollingConsumerSupport.start() do not get called

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3158.
--------------------------------

    Fix Version/s: 2.5.0
       Resolution: Fixed

trunk: 1001365.

Thanks for reporting.

> PollingConsumerSupport.start() do not get called
> ------------------------------------------------
>
>                 Key: CAMEL-3158
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3158
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Alexander Azarov
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>
> I have a subclass of PollingConsumerSupport and create it in a subclass of DefaultPollingEndpoint. The problem is that DefaultPollingEndpoint wraps PollingConsumer into DefaultScheduledPollConsumer and the latter does not call PollingConsumerSupport.start:
> DefaultScheduledPollConsumer.java:
>     @Override
>     protected void doStart() throws Exception {
>         pollingConsumer = getEndpoint().createPollingConsumer();
>         super.doStart();
>     }

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