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 2026/10/06 09:24:00 UTC

[jira] [Updated] (CAMEL-25373) camel-rest - the unresolved path parameter warning comes back once a minute, and names an exchange property of that name

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

Claus Ibsen updated CAMEL-25373:
--------------------------------
    Fix Version/s: 4.23.0

> camel-rest - the unresolved path parameter warning comes back once a minute, and names an exchange property of that name
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-25373
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25373
>             Project: Camel
>          Issue Type: Improvement
>          Components: rest
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.23.0
>
>
> A path parameter with no value is sent as {{\{sku\}}} in the path, and the producer warns once per parameter, ever (CAMEL-24986). In the local-model benchmark (r5, contracts-openapi-client steps 2 and 3, both used all 20 tool calls) the model had replaced {{setHeader sku}} with {{setProperty sku}}. Every request went to {{/stock/%7Bsku%7D/reserve}} and got a 404. The single warning was logged at the first call; a noop file consumer then retried the rolled-back files on every poll, and about 7 MB of errors followed. The model never saw the warning.
> Proposal, keeping the request as it is sent today:
> * Log the warning at most once a minute per parameter, not once ever, so it comes back while the misconfiguration lasts.
> * When an exchange property of that name exists, say so: a path parameter is read from a header or a variable, not from a property; use setHeader.
> _Claude Code on behalf of davsclaus_



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