davsclaus commented on code in PR #27689:
URL: https://github.com/apache/camel/pull/27689#discussion_r4245541374
##########
components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/DefaultVertxHttpBinding.java:
##########
@@ -138,7 +140,18 @@ public void populateRequestHeaders(
continue;
}
- if (!strategy.applyFilterToCamelHeaders(key, headerValue,
exchange)) {
+ if (headerValue instanceof Iterable || headerValue instanceof
Object[]) {
Review Comment:
`instanceof Iterable` is wider than "collection": Vert.x `JsonObject`
implements `Iterable<Map.Entry>` and `JsonArray` implements `Iterable<Object>`.
Before this PR they were sent as encoded JSON; now a `JsonObject` header
becomes one `key=value` line per entry. `instanceof Collection || instanceof
Object[]` would avoid that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]