Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1C5FE200C02 for ; Thu, 5 Jan 2017 16:07:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1B044160B26; Thu, 5 Jan 2017 15:07:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 92BE2160B27 for ; Thu, 5 Jan 2017 16:06:59 +0100 (CET) Received: (qmail 36828 invoked by uid 500); 5 Jan 2017 15:06:58 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 36752 invoked by uid 99); 5 Jan 2017 15:06:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2017 15:06:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6B5192C2A66 for ; Thu, 5 Jan 2017 15:06:58 +0000 (UTC) Date: Thu, 5 Jan 2017 15:06:58 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-10641) camel-core - In OSGi should unload the loaded type converters when bundle is removed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 Jan 2017 15:07:00 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-10641: -------------------------------- Assignee: John Poth > 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 > Assignee: John Poth > 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)