[ https://issues.apache.org/jira/browse/CAMEL-10641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yogesh Rao updated CAMEL-10641: ------------------------------- Attachment: converter-example.zip Example of converter attached. This uses camel 2.18.1 As soon as its dropped into deploy folder of karaf exceptions of InvalidPayload can be noticed in Karaf log once camel-core bundle is restarted the converter starts to work fine. > camel-core - In OSGi should unload the loaded type converters when bundle is > removed > ------------------------------------------------------------------------------------ > > Key: CAMEL-10641 > URL: https://issues.apache.org/jira/browse/CAMEL-10641 > Project: Camel > Issue Type: Improvement > Components: camel-core, osgi > Reporter: Claus Ibsen > Fix For: 2.19.0 > > Attachments: converter-example.zip > > > See nabble > http://camel.465427.n5.nabble.com/camel-core-not-detecting-converters-on-bundle-restart-in-karaf4-tp5791503.html > So even if the CamelContext instance itself is shutdown, then somehow type > converters that are static method calls somehow are causing issues. We should > instead attempt to unload the type converters when stopping. > However we need to ensure that this is called after CamelContext is stopped > because the type converters are still to be used during shutdown of Camel > itself. -- This message was sent by Atlassian JIRA (v6.3.4#6332)