You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/11/11 17:10:00 UTC

[jira] [Resolved] (CAMEL-20101) camel-jolt - query parameter allowContextMapAll is ignored

     [ https://issues.apache.org/jira/browse/CAMEL-20101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-20101.
---------------------------------
    Resolution: Fixed

Thanks for reporting and the PR

> camel-jolt - query parameter allowContextMapAll is ignored
> ----------------------------------------------------------
>
>                 Key: CAMEL-20101
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20101
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jolt
>    Affects Versions: 3.x, 4.x
>            Reporter: Steven Dürrenmatt
>            Priority: Minor
>             Fix For: 4.3.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)