camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Kripalani (Reopened) (JIRA)" <>
Subject [jira] [Reopened] (CAMEL-5010) Renove OSGi environment detection logging from camel-spring
Date Mon, 20 Feb 2012 17:17:35 GMT


Raul Kripalani reopened CAMEL-5010:

This fix breaks OSGi compatibility on Karaf 2.2.5 (and probably lower). Current HEAD of trunk,
revision 1291263. The code deleted by this commit loaded the {{org.apache.camel.osgi.CamelContextFactoryBean}}
class and then registered it. Due to a wrong import, it is now loading {{org.apache.camel.*spring*.CamelContextFactoryBean}}
instead. As a result, Camel is unable to resolve components, languages, etc. from the OSGi

I will attach a patch.
> Renove OSGi environment detection logging from camel-spring
> -----------------------------------------------------------
>                 Key: CAMEL-5010
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.1, 2.10.0
> In the old days when using OSGi and Camel it was sometime tricky to get the stuff working
and running correctly. So we had some logic to detect if OSGi environment. We have some left
over code in camel-spring that logs this. We should now remove this as it does not offer any
> And also causes a WARN to be logged in JBoss7 that may confuse users, when using Camel
as a WAR app in JBoss.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message