camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CAMEL-2697) camel-spring - Spring 3.0.x - Add depends-on in the namespace handler to make it easy for end users to use Spring and Camel without considering ordering of their beans
Date Mon, 10 May 2010 03:11:45 GMT

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

Willem Jiang reassigned CAMEL-2697:
-----------------------------------

    Assignee: Willem Jiang

> camel-spring - Spring 3.0.x - Add depends-on in the namespace handler to make it easy
for end users to use Spring and Camel without considering ordering of their beans
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2697
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2697
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-spring
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>             Fix For: 2.4.0
>
>
> Spring 3.0.x behaves differently when discovering bean dependencies. For example if you
have a <routeBuilder ref="xxx"/> in <camelContext/> than the {{xxx}} bean will
not by default be dependent on the <camelContext/>. This causes Spring maybe to create
the {{xxx}} before the {{camelContext}}. And you most likely want CamelContext to be created
beforehand, so IoC allows you to inject CamelContext into that {{xxx}} or whatnot.
> See nabble
> http://old.nabble.com/Spring-3.0-and-Camel-2.2---Route-configure%28%29-called-before-Spring-beans-injected-ts28415437.html
> We do already have logic for this in the namespace handler, but we need to add it to
more places to have it working for all kind of camel types.

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


Mime
View raw message