camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: RAW option dosen't work in case of Spring DSL URI
Date Fri, 15 Nov 2013 10:29:54 GMT
You are using XML and you must obey the xml rules.

So you would need to escape your & as &amp;



On Fri, Nov 15, 2013 at 10:48 AM, sabri.bousselmi <infosabri@yahoo.fr> wrote:
> I'm using camel version 2.12.1.
> i'm using http component with authentication and i'm trying to keep the
> passwor as it is without any encoding.
>
> below my URI:
>
> <to
> uri="http://blablabla?authMethod=Basic&amp;authUsername=sabri&amp;authPassword=RAW(sabri&)"/>
> this will end up with non xml valid.
> 1- I'm asking if it is a bug or RAW option it's only used for java
> DSL.(nothing mentioned in the online documentation).
> 2- authMethod and authUsername parameters must be used the uri and can't be
> part of the Message headers Exchange.HTTP_URI. (also nothing mentioned in
> the online documentation).
>
> Thanks for any help.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/RAW-option-dosen-t-work-in-case-of-Spring-DSL-URI-tp5743346.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message