You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Yuri Schimke (JIRA)" <ji...@apache.org> on 2009/09/16 18:16:12 UTC

[jira] Created: (CAMEL-2018) Timer Endpoint starts the thread before configuration

Timer Endpoint starts the thread before configuration
-----------------------------------------------------

                 Key: CAMEL-2018
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2018
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.0.0
            Reporter: Yuri Schimke


The Timer endpoint does not appear to allow configuration using Spring XML.  When debugging, the Timer is created (with default configuration) and then the configuration magic happens

TimerComponent.createEndpoint calls
new TimerEndpoint() which calls
component.getTimer(this)

Which creates the timer before the properties are set

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


[jira] Commented: (CAMEL-2018) Timer Endpoint starts the thread before configuration

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54332#action_54332 ] 

Claus Ibsen commented on CAMEL-2018:
------------------------------------

You can use the Main support to start Camel.

Or use camel-spring that has a Main class to start Camel.


> Timer Endpoint starts the thread before configuration
> -----------------------------------------------------
>
>                 Key: CAMEL-2018
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2018
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Yuri Schimke
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> The Timer endpoint does not appear to allow configuration using Spring XML.  When debugging, the Timer is created (with default configuration) and then the configuration magic happens
> TimerComponent.createEndpoint calls
> new TimerEndpoint() which calls
> component.getTimer(this)
> Which creates the timer before the properties are set

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


[jira] Assigned: (CAMEL-2018) Timer Endpoint starts the thread before configuration

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

Claus Ibsen reassigned CAMEL-2018:
----------------------------------

    Assignee: Claus Ibsen

> Timer Endpoint starts the thread before configuration
> -----------------------------------------------------
>
>                 Key: CAMEL-2018
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2018
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Yuri Schimke
>            Assignee: Claus Ibsen
>
> The Timer endpoint does not appear to allow configuration using Spring XML.  When debugging, the Timer is created (with default configuration) and then the configuration magic happens
> TimerComponent.createEndpoint calls
> new TimerEndpoint() which calls
> component.getTimer(this)
> Which creates the timer before the properties are set

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


[jira] Resolved: (CAMEL-2018) Timer Endpoint starts the thread before configuration

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

Claus Ibsen resolved CAMEL-2018.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

trunk: 816501

> Timer Endpoint starts the thread before configuration
> -----------------------------------------------------
>
>                 Key: CAMEL-2018
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2018
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Yuri Schimke
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> The Timer endpoint does not appear to allow configuration using Spring XML.  When debugging, the Timer is created (with default configuration) and then the configuration magic happens
> TimerComponent.createEndpoint calls
> new TimerEndpoint() which calls
> component.getTimer(this)
> Which creates the timer before the properties are set

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


[jira] Updated: (CAMEL-2018) Timer Endpoint starts the thread before configuration

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

Claus Ibsen updated CAMEL-2018:
-------------------------------

    Priority: Minor  (was: Major)

> Timer Endpoint starts the thread before configuration
> -----------------------------------------------------
>
>                 Key: CAMEL-2018
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2018
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Yuri Schimke
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> The Timer endpoint does not appear to allow configuration using Spring XML.  When debugging, the Timer is created (with default configuration) and then the configuration magic happens
> TimerComponent.createEndpoint calls
> new TimerEndpoint() which calls
> component.getTimer(this)
> Which creates the timer before the properties are set

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


[jira] Commented: (CAMEL-2018) Timer Endpoint starts the thread before configuration

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54330#action_54330 ] 

Claus Ibsen commented on CAMEL-2018:
------------------------------------

However its only a few options you can configure on the Timer itself. The other parameters are configured later which are the period etc. So its only a very minor issue.

> Timer Endpoint starts the thread before configuration
> -----------------------------------------------------
>
>                 Key: CAMEL-2018
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2018
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Yuri Schimke
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> The Timer endpoint does not appear to allow configuration using Spring XML.  When debugging, the Timer is created (with default configuration) and then the configuration magic happens
> TimerComponent.createEndpoint calls
> new TimerEndpoint() which calls
> component.getTimer(this)
> Which creates the timer before the properties are set

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


[jira] Commented: (CAMEL-2018) Timer Endpoint starts the thread before configuration

Posted by "Yuri Schimke (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54331#action_54331 ] 

Yuri Schimke commented on CAMEL-2018:
-------------------------------------

Thanks for fixing it.  Without Non Daemon threads you need to create an extra thread to stop the JVM from exiting.

> Timer Endpoint starts the thread before configuration
> -----------------------------------------------------
>
>                 Key: CAMEL-2018
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2018
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Yuri Schimke
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> The Timer endpoint does not appear to allow configuration using Spring XML.  When debugging, the Timer is created (with default configuration) and then the configuration magic happens
> TimerComponent.createEndpoint calls
> new TimerEndpoint() which calls
> component.getTimer(this)
> Which creates the timer before the properties are set

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