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

camel-core: investigate externalizing large builtin texts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0, 4.1.0
    • 4.6.0
    • camel-core
    • Moderate

    Description

      This is about a comment I raised here: https://github.com/apache/camel/pull/11181/files#r1302680683

      Long story short, we have lots of places in the code base where we generate large strings (i.e.: dump stuff to xml, json, java, SQL, etc) and we keep those strings builtin into the code base.

      From a readability and maintainability perspective this is extremely hard to maintain, debug and read. Ideally, we should investigate a way to externalize those strings. For some cases, we might need to find a templating solution that is suitable and acceptable for the project.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: