Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6913

Add dynamic unmarshalling capability to JiBX data format

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.12.1
    • 2.17.0
    • camel-jibx
    • 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.

      Attachments

        Activity

          People

            lb Luca Burgazzoli
            strelok Strelok
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: