[
https://issues.apache.org/jira/browse/CAMEL-21884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-21884:
--------------------------------
Fix Version/s: 4.12.0
> Introduce the useBodyHandler option in camel-platform-http
> ----------------------------------------------------------
>
> Key: CAMEL-21884
> URL: https://issues.apache.org/jira/browse/CAMEL-21884
> Project: Camel
> Issue Type: Improvement
> Components: camel-platform-http
> Reporter: Zheng Feng
> Assignee: Zheng Feng
> Priority: Major
> Fix For: 4.12.0
>
>
> It could be helpful to introduce the *useBodyHandler* with the default value
> is true. In the API gateway secenrioes, it could forward the requests to the
> vert-http producer directly.
>
> {code:java}
> from("platform-http:/camel?matchOnUriPrefix=true&useBodyHandler=false")
> .process(exchange -> {
> HttpMessage message = exchange.getMessage(HttpMessage.class);
> message.setBody(message.getRequest());
> })
> .toD("vertx-http://http:${newUri}");
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)