Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.12.1
-
None
-
Novice
Description
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.