[ 
https://issues.apache.org/jira/browse/CAMEL-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065367#comment-13065367
 ] 

Claus Ibsen commented on CAMEL-4212:
------------------------------------

This also applies for HTTP headers. 

And on the producer side, you may have a Camel Message that has a header which 
contains a list with multiple values.
It seems so the idiom is to do a .toString on the value. Which in Java outputs 
a: [xxx, yyy, zzz] for an ArrayList.



> http components should support parameters with multiple values when mapping 
> to Camel headers
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4212
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4212
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ahc, camel-http, camel-jetty
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4212.patch
>
>
> All the http components in Camel should support mapping HttpServletRequest 
> parameters to Camel Message headers where there can be multiple values for 
> the same key. So in that case the value of the Camel Message header should be 
> a List.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to