You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Scott Cranton (JIRA)" <ji...@apache.org> on 2012/08/22 15:59:42 UTC

[jira] [Created] (CAMEL-5534) OSGi split package org.apache.camel.component, both camel-core and camel-spring export

Scott Cranton created CAMEL-5534:
------------------------------------

             Summary: OSGi split package org.apache.camel.component, both camel-core and camel-spring export
                 Key: CAMEL-5534
                 URL: https://issues.apache.org/jira/browse/CAMEL-5534
             Project: Camel
          Issue Type: Bug
          Components: camel-core, camel-spring
    Affects Versions: 2.9.0
            Reporter: Scott Cranton


Both camel-core and camel-spring export package org.apache.camel.component. camel-spring contains org.apache.camel.component.ResourceBasedComponent, and camel-core does not, so any bundles that resolve to camel-core (most do) will get a ClassNotFoundException for ResourceBasedComponent

--
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

        

[jira] [Commented] (CAMEL-5534) OSGi split package org.apache.camel.component, both camel-core and camel-spring export

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486766#comment-13486766 ] 

Claus Ibsen commented on CAMEL-5534:
------------------------------------

We have seen the reverse happen also, asking for ResourceEndpoint which is in camel-core, but gets a NoClassDefFoundException.

I wonder if there is any merge-first or whatever that osgi syntax is, would help? We should possible just force the package to always look in camel-core as there are the classes which is needed by Velocity, Freemarker etc.
                
> OSGi split package org.apache.camel.component, both camel-core and camel-spring export
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5534
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5534
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 2.9.0
>            Reporter: Scott Cranton
>              Labels: OSGi
>             Fix For: 3.0.0
>
>
> Both camel-core and camel-spring export package org.apache.camel.component. camel-spring contains org.apache.camel.component.ResourceBasedComponent, and camel-core does not, so any bundles that resolve to camel-core (most do) will get a ClassNotFoundException for ResourceBasedComponent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5534) OSGi split package org.apache.camel.component, both camel-core and camel-spring export

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-5534:
-------------------------------

    Fix Version/s:     (was: 3.0.0)
                   2.11.0
    
> OSGi split package org.apache.camel.component, both camel-core and camel-spring export
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5534
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5534
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core, camel-spring
>    Affects Versions: 2.9.0
>            Reporter: Scott Cranton
>            Assignee: Claus Ibsen
>              Labels: OSGi
>             Fix For: 2.11.0
>
>
> Both camel-core and camel-spring export package org.apache.camel.component. camel-spring contains org.apache.camel.component.ResourceBasedComponent, and camel-core does not, so any bundles that resolve to camel-core (most do) will get a ClassNotFoundException for ResourceBasedComponent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CAMEL-5534) OSGi split package org.apache.camel.component, both camel-core and camel-spring export

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-5534:
----------------------------------

    Assignee: Claus Ibsen
    
> OSGi split package org.apache.camel.component, both camel-core and camel-spring export
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5534
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5534
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core, camel-spring
>    Affects Versions: 2.9.0
>            Reporter: Scott Cranton
>            Assignee: Claus Ibsen
>              Labels: OSGi
>             Fix For: 2.11.0
>
>
> Both camel-core and camel-spring export package org.apache.camel.component. camel-spring contains org.apache.camel.component.ResourceBasedComponent, and camel-core does not, so any bundles that resolve to camel-core (most do) will get a ClassNotFoundException for ResourceBasedComponent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5534) OSGi split package org.apache.camel.component, both camel-core and camel-spring export

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-5534:
-------------------------------

    Issue Type: Task  (was: Bug)
    
> OSGi split package org.apache.camel.component, both camel-core and camel-spring export
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5534
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5534
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core, camel-spring
>    Affects Versions: 2.9.0
>            Reporter: Scott Cranton
>              Labels: OSGi
>             Fix For: 3.0.0
>
>
> Both camel-core and camel-spring export package org.apache.camel.component. camel-spring contains org.apache.camel.component.ResourceBasedComponent, and camel-core does not, so any bundles that resolve to camel-core (most do) will get a ClassNotFoundException for ResourceBasedComponent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5534) OSGi split package org.apache.camel.component, both camel-core and camel-spring export

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487652#comment-13487652 ] 

Claus Ibsen commented on CAMEL-5534:
------------------------------------

Discussion on @dev to remove @deprecated classes which will fix this sooner
http://camel.465427.n5.nabble.com/DISCUSS-CAMEL-5534-Split-package-in-camel-core-and-camel-spring-tp5721772.html
                
> OSGi split package org.apache.camel.component, both camel-core and camel-spring export
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5534
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5534
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core, camel-spring
>    Affects Versions: 2.9.0
>            Reporter: Scott Cranton
>              Labels: OSGi
>             Fix For: 2.11.0
>
>
> Both camel-core and camel-spring export package org.apache.camel.component. camel-spring contains org.apache.camel.component.ResourceBasedComponent, and camel-core does not, so any bundles that resolve to camel-core (most do) will get a ClassNotFoundException for ResourceBasedComponent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-5534) OSGi split package org.apache.camel.component, both camel-core and camel-spring export

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5534.
--------------------------------

    Resolution: Fixed

The classes has been removed from Camel 2.11 onwards.
                
> OSGi split package org.apache.camel.component, both camel-core and camel-spring export
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5534
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5534
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core, camel-spring
>    Affects Versions: 2.9.0
>            Reporter: Scott Cranton
>            Assignee: Claus Ibsen
>              Labels: OSGi
>             Fix For: 2.11.0
>
>
> Both camel-core and camel-spring export package org.apache.camel.component. camel-spring contains org.apache.camel.component.ResourceBasedComponent, and camel-core does not, so any bundles that resolve to camel-core (most do) will get a ClassNotFoundException for ResourceBasedComponent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira