Yeah its fixed in the 1.x branch and trunk as well.

As a workaround you can:
1) Create the endpoint manually (without using the Camel xxxComponent)
2) Setting the endpointUri as a property

Ad 2)
Its kinda like setting the endpoint twice:
from("ftp://foo?password=secret&endpointUri=ftp://foo?passwordESCAPED&password=secrect";)

Or you could probably fix it like this:
Endpoint ftp = context.getEndpoint("ftp://foo?password=secret";);
ftp.setEndpointUri("ftp://foo?password=secret";);

from(frp).to("xxx");

Ad 1)
Its like creating the endpoint manually
Endpoint ftp = new xxxx()
// set all properties on ftp
from(frp).to("xxx");



On Wed, Jan 28, 2009 at 10:26 PM, Ramon Buckland
<ramon.buckl...@gmail.com> wrote:
> Hi Hari,
>
> Claus was able to identify that it is a bug
>
>
>> Bug spotted and fixed
>> https://issues.apache.org/activemq/browse/CAMEL-1296
>>
>> Its fixed in 1.x and trunk.
>
> To use this fixed version, you will need to compile the camel 1.x branch.
> The following url details the location of the camel source.
>
> http://camel.apache.org/source.html
>
> You will need to checkout and compile
> https://svn.apache.org/repos/asf/camel/branches/camel-1.x
>
> regards
> Ramon


>
> On Thu, Jan 29, 2009 at 08:17, harinair <har...@hotmail.com> wrote:
>
>>
>> Anybody have idea on how I can fix this? Is there any problem if I provide
>> the full URI in RemoteFileEndpoint?
>>
>> Hari Gangadharan
>>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Reply via email to