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

camel-jolt - query parameter allowContextMapAll is ignored

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.x, 4.x
    • 4.3.0
    • camel-jolt
    • None
    • Unknown

    Description

      The allowContextMapAll query parameter is not present in the code, and the allowTemplateFromHeader parameter is used instead. By default the input context map is null if allowTemplateFromHeader is false, so no context will be passed to the Jolt transform at all. If allowTemplateFromHeader is true, the input context map will have full access.

      Documentation for allowContextMapAll says: "Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed", so Jolt transforms should have access to message headers by default. It is not clear whether this option should actually restrict the context map to headers, or just disallow the use of a context map.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              steven.durrenmath Steven D├╝rrenmatt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: