The multiple value thing is fixed on the producer side, eg if you use http/http4/jetty/ahc or any other Camel endpoint.
On the consumer side, eg jetty/servlet the problem is that Camel doesnt yet support mapping to headers using multiple values. I have created a ticket to track this also https://issues.apache.org/jira/browse/CAMEL-4212 >From jetty/servlet you can access the HttpServletRequest and get the parameters with multiple values. See this unit test http://svn.apache.org/viewvc?rev=1145506&view=rev On Tue, Jul 12, 2011 at 12:44 AM, Blair <blair.nils...@gmail.com> wrote: > I am wondering if i am doing this wrong, or if there is a work around? > > Fields posted (or getted) from a form are placed as headers, which is a > wonderful beautiful thing. > however... > > a url of the form http://localhost:8080/Message?say=hello&to=bob&to=bill > causes issues. The POST and PUT equivalents are the same. > > The "to" header will only have bob, and bill is completely lost. I thought > we would end up with a list there, or something I could split on. > > Anyway way around this? > > The reason I want to to this is forms that have a list where you can select > multiple entries are sent this way, and I need to process the result. > > --- Blair > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Problems-with-jetty-component-and-posts-with-more-then-one-value-for-a-field-tp4576908p4576908.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/