camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Whytock <dwhyt...@gmail.com>
Subject Re: [HEADS UP] - Configuring passwords in Camel endpoints is now easier with new RAW syntax
Date Mon, 25 Mar 2013 18:24:27 GMT
Claus says the issue is fixed now, but there was a workaround before,
at least in Java...you could fetch the config object from the endpoint
and set username and password directly before using the endpoint.  Of
course, that doesn't help you in XML.

Don

On Mon, Mar 25, 2013 at 2:14 PM, Daniel Gredler
<dgredler@dhlglobalmail.com> wrote:
> This would be nice! We ran into this exact scenario about a year ago; a
> data center wanted us to use their FTP proxy server by specifying
> user@host.com as the FTP username, which results in an endpoint URL that
> looks like user@host.com@proxyhost. In the end they just had to make an
> exception for our application and punch a small hole in their
> firewall...
>
>
> -----Original Message-----
> From: Donald Whytock [mailto:dwhytock@gmail.com]
> Sent: Monday, March 25, 2013 1:14 PM
> To: dev@camel.apache.org
> Subject: Re: [HEADS UP] - Configuring passwords in Camel endpoints is
> now easier with new RAW syntax
>
> In addition to passwords, can it be used in the name portion of the
> address?  There were issues with the FTP and email components where the
> user name the host was expecting had an "@" in it, as in blah@host.com
> was actually expected as the name, with the whole address being
> blah@host.com@host.com.  The URI class parser doesn't like that.
>
> So, would RAW(blah@host.com)@host.com work?
>
> Don

Mime
View raw message