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

Claus Ibsen reassigned CAMEL-24054:
-----------------------------------

    Fix Version/s: 4.22.0
         Assignee: Claus Ibsen

> EvalLanguageDevConsole - Add POST method support and exchange variables
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-24054
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24054
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.22.0
>
>
> The EvalLanguageDevConsole dev console currently has two limitations:
> 1. *GET-only HTTP access* — The dev console HTTP endpoint in 
> ManagementHttpServer.setupDevConsole() only registers HttpMethod.GET. This 
> imposes URL length limits when sending large expressions or message bodies 
> via query parameters. Adding POST support would allow sending parameters as a 
> JSON request body, avoiding these limits.
> 2. *No exchange variables support* — The console creates a DefaultExchange 
> and populates the message body and headers, but does not support setting 
> exchange variables on the dummy exchange before evaluation. A new VARIABLES 
> option (similar to the existing HEADERS option) should be added.
> Affected files:
> - 
> core/camel-console/src/main/java/org/apache/camel/impl/console/EvalLanguageDevConsole.java
> - 
> components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/ManagementHttpServer.java



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

Reply via email to