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

Łukasz Dywicki commented on CAMEL-2562:
---------------------------------------

I checked this problem - ROME PluginManager try to use class loader from 
endpoint bundle. I added simple fallback condition to ROME - first of all ROME 
try to use bundle class loader to resolve plugin classes. If they will thow 
ClassNotFoundException PluginManager will use local class loader. All ROME 
features should work with this because patch does not have any impact to 
standard behaviour.

> Camel-rss don't work in OSGi
> ----------------------------
>
>                 Key: CAMEL-2562
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2562
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-rss
>    Affects Versions: 2.2.0
>         Environment: ServiceMix 4.x, FUSE 4.2.x
>            Reporter: Łukasz Dywicki
>            Assignee: Łukasz Dywicki
>         Attachments: patch.patch
>
>
> Rss polling endpoints can not be started in OSGi due NoClassDefError in ROME. 
> Root cause of all problems are com.sun.syndication.io.impl.PropertiesLoader 
> and Thread.currentThread().getContextClassLoader() usage in this class.
> Patch provided in 
> http://repository.code-house.org/content/repositories/code-house.public.release/rome/rome/1.0-osgi/
>  may break rome features like providing own Parsers/Generators/Converters 
> using rome.properties file.

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

Reply via email to