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

Allow camel-freemarker template cache duration to be specified

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.4, 2.9.0
    • camel-freemarker
    • None
    • Patch Available
    • Unknown

    Description

      The camel-freemarker component supports caching of template files; however, the cache period that is applied is always 5 seconds – which is the default cache delay defined in the FreeMarker Configuration. This short cache window seems incongruent with likely uses of FreeMarker within a Camel route. Camel should allow the template cache duration to be specified as part of the component's URI definition so that longer cache periods can be configured in a route.

      Attachments

        1. camel-4732-freemarker.patch
          3 kB
          Rich Newcomb
        2. camel-4732-freemarker-mod.patch
          1 kB
          Rich Newcomb

        Activity

          People

            njiang Willem Jiang
            rnewcomb Rich Newcomb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: