You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2010/07/02 08:54:51 UTC

[jira] Created: (CAMEL-2895) OsgiPackageScanClassResolver can't find the class after refactoring

OsgiPackageScanClassResolver can't find the class after refactoring
-------------------------------------------------------------------

                 Key: CAMEL-2895
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2895
             Project: Apache Camel
          Issue Type: Bug
          Components: osgi
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.4.0


After I applied the patch of CAMEL-2894, I can't get let camel load the router with package scan option.

As the Bundle.getResources(String name), can't work as the ClassLoader.getResources(String name).
So we have to use Bundle.findEntries() to check the package's resource.

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


[jira] Resolved: (CAMEL-2895) OsgiPackageScanClassResolver can't find the class after refactoring

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

Willem Jiang resolved CAMEL-2895.
---------------------------------

    Resolution: Fixed

> OsgiPackageScanClassResolver can't find the class after refactoring
> -------------------------------------------------------------------
>
>                 Key: CAMEL-2895
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2895
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: osgi
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.4.0
>
>
> After I applied the patch of CAMEL-2894, I can't get let camel load the router with package scan option.
> As the Bundle.getResources(String name), can't work as the ClassLoader.getResources(String name).
> So we have to use Bundle.findEntries() to check the package's resource.

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