After upgrading from Red Hat Build of Apache Camel for Quarkus(CEQ) 2.13.3 to CEQ 3.2, camel-http producer sets "Content-Encoding=UTF-8"
Issue
After upgrading from Red Hat Build of Apache Camel for Quarkus(CEQ) 2.13.3 to CEQ 3.2, camel-http producer sets "Content-Encoding=UTF-8".
camel route
from("timer://foo?repeatCount=1")
.setBody(simple("{\"menu\": {\"id\": \"file\",\"value\": \"File\"}}"))
.setHeader("Content-Type", constant("application/json; charset=UTF-8"))
.to("http://127.0.0.1:80/post")
.log("done");
part of log
2024-04-04 16:10:02 DEBUG [org.apache.hc.client5.http.headers] (Camel (camel-1) thread #1 - timer://foo) http-outgoing-0 >> Content-Encoding: UTF-8
Environment
- Red Hat Integration
- Red Hat Build of Apache Camel for Quarkus
- 3.2
- Red Hat Build of Apache Camel for Quarkus
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.