Use %26 to encode the &
http://en.wikipedia.org/wiki/Url_encode

And also can you paste the stacktrace?
And tell us which Camel version you use?

On Wed, May 15, 2013 at 8:34 AM, jamalissimo <roman.janu...@gmail.com> wrote:
> Hi,
>
> I will try to be more specific. This is how I call the service:
>
> /path/to/service/upload?product=MyProduct&index=0&uploader=roman&pathToFile=/path/to/my/fileWhichContains&inTheName.txt&folderId=1
>
> When I try this URL I will get *java.lang.ArrayIndexOutOfBoundsException: 1*
> error.
>
> -Thanks
>
> Roman
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/QueryParam-value-with-ampersand-tp5732487p5732574.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to