Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCB13188E4 for ; Wed, 27 Jan 2016 18:11:50 +0000 (UTC) Received: (qmail 80317 invoked by uid 500); 27 Jan 2016 18:11:40 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 80284 invoked by uid 500); 27 Jan 2016 18:11:40 -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 80271 invoked by uid 99); 27 Jan 2016 18:11:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2016 18:11:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AF38C2C0AFA for ; Wed, 27 Jan 2016 18:11:40 +0000 (UTC) Date: Wed, 27 Jan 2016 18:11:40 +0000 (UTC) From: "Luca Burgazzoli (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-6913) Add dynamic unmarshalling capability to JiBX data format MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luca Burgazzoli resolved CAMEL-6913. ------------------------------------ Resolution: Fixed Fix Version/s: (was: Future) 2.17.0 > Add dynamic unmarshalling capability to JiBX data format > -------------------------------------------------------- > > Key: CAMEL-6913 > URL: https://issues.apache.org/jira/browse/CAMEL-6913 > Project: Camel > Issue Type: Improvement > Components: camel-jibx > Affects Versions: 2.12.1 > Reporter: Strelok > Assignee: Luca Burgazzoli > Priority: Minor > Fix For: 2.17.0 > > > Currently a single instance of a JibxDataFormat supports unmarshalling a single class only as defined by the "unmarshallClass" attribute. If the application needs to be able to unmarshall to many classes an instance of a data format has to be created for every class which makes configuration tedious and verbose. > Should be trivial to make the data format support dynamically choosing which unmarshall class to use via a header (CamelJibxUnmarshallClass for example). > Creating this issue as a placeholder. I will try to submit a patch soon. -- This message was sent by Atlassian JIRA (v6.3.4#6332)