camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-7969) Container sees Context prematurely (with default name)
Date Mon, 27 Oct 2014 11:58:33 GMT

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

Thomas Diesler updated CAMEL-7969:
----------------------------------
    Summary: Container sees Context prematurely (with default name)  (was: Container only
sees Context with default name)

> Container sees Context prematurely (with default name)
> ------------------------------------------------------
>
>                 Key: CAMEL-7969
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7969
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.14.0
>            Reporter: Thomas Diesler
>
> In the case of SpringCamelContext we have this code
> {code}
>     protected SpringCamelContext createContext() {
>         SpringCamelContext ctx = newCamelContext();        
>         ctx.setName(getId());        
>         return ctx;
>     }
> {code}
> The Container singleton is however called from the DefaultCamelContext ctor (i.e. before
the name is initialised properly)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message