camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5010) Remove OSGi environment detection logging from camel-spring
Date Tue, 21 Feb 2012 08:18:34 GMT

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

Claus Ibsen commented on CAMEL-5010:
------------------------------------

I have seen a lot of weird OSGi crapola over the times, but this one beats them all.

I have not see any other OSGi framework have to do tricks like this to just work.
And if its really needed, then code comments must be in place stating, why this weird code
must be in place.

The BlueprintCamelContext does not have the need for this weird code.
                
> Remove OSGi environment detection logging from camel-spring
> -----------------------------------------------------------
>
>                 Key: CAMEL-5010
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5010
>             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
value.
> And also causes a WARN to be logged in JBoss7 that may confuse users, when using Camel
as a WAR app in JBoss.
> http://camel.465427.n5.nabble.com/Camel-2-9-0-startup-error-message-ClassNotFoundException-org-osgi-framework-BundleActivator-tp5133932p5133932.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message