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

Validator - schema from memory/property

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.10.1
    • Fix Version/s: 2.19.0
    • Component/s: camel-core
    • Labels:
    • Estimated Complexity:
      Moderate

      Description

      As far as I understand, the validator "component" in Camel can only use schemas deployed as file within the classpath (typically the deployed application - ear/war/jar whatever have you) or some file/http resource.

      Sometimes you might want to load the schema a bit more dynamically, I.E. from some datasource or semi-generate something on the fly. My suggestion is that a schema could be supplied in a propery or a header to the validator.

      I wrote such an extension to the validator and could probably rewrite it easily as a patch to the regular validator. Do you think people want to use such a feature and that it might be good to have in Camel? Should I submit a patch?

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              northlander Petter Nordlander
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: