Strelok created CAMEL-6913:
------------------------------

             Summary: 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
            Priority: Minor


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.1#6144)

Reply via email to