-
Bug
-
Resolution: Won't Do
-
Normal
-
fuse-7.11-GA
-
None
Camel http4 producer has "HTTP-QUERY" to support the HTTP query parameters.
https://access.redhat.com/documentation/en-us/red_hat_fuse/7.8/html/apache_camel_component_reference/http4-component#configuring_uri_parameters_2
The multi-valued parameters are a feature that should be supported in the HTTP components, but comma separated format is used.
[Expected Format]
http://localhost:8181/sample/test/hello?ids=Bob&ids=Nancy&ids=David
[Actual Format]
http://localhost:8181/sample/test/hello?ids=[Bob, Nancy, David]
[Steps to reproduce the issue]
- Download and unzip the CodeReadyStudio maven project
- Run the CamelContext
- Check the console log
expected:
[XNIO-1 task-1] INFO simple-route - >>> Bob,Nancy,David
actual:
[XNIO-1 task-1] INFO simple-route - >>> [Bob, Nancy, David]