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

Claus Ibsen commented on CAMEL-1049:
------------------------------------

I have these setter/getter in SpringCamelContext in the trunk code


    public void setShouldStartContext(boolean shouldStartContext) {
        this.shouldStartContext = shouldStartContext;
    }

    public boolean getShouldStartContext() {
        return shouldStartContext;
    }


Why do you need the setter/getter on the CamelContextFactoryBean?


> Allow configuration of shouldStartContext with Spring 
> (CamelContextFactoryBean)
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-1049
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1049
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-spring
>    Affects Versions: 1.5.0
>         Environment: WinXP, JDK5
>            Reporter: Andreas Kuhtz
>            Assignee: Willem Jiang
>             Fix For: 1.5.1, 2.0.0
>
>         Attachments: camel-shouldStartContext.patch, camel-typo.patch, 
> patch-1049.patch
>
>
> The shouldStartContext flag should be configurable with the spring 
> configuration (CamelContextFactoryBean). The attached patch has the 
> enhancements. The second patch is for a typo in a log message if the start is 
> skipped.

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

Reply via email to