camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goyal, Arpit" <>
Subject toD doesn't support RAW function for passwords (Bug?)
Date Fri, 09 Dec 2016 02:50:05 GMT
Hello Camel users,

On my 5-10mins analysis - looks like a problem/bug - please can you clarify?

We have SFTP passwords which have special characters and hence we tried to use the RAW function.
On testing we saw that the RAW doesn't work and it still fails.

On debugging we realize that we are using toD("sftp://....") and not to("sftp://..."). As
toD has been introduced later, I assume either it doesn't support RAW or this was missed out
and is a bug.

Camel Version: 2.16.3

URL: sftp://

Code Fails at - org.apache.camel.model.ToDynamicDefinition.createExpression(RouteContext)
 - line 86 or 117 (depending on your viewpoint).

- Line 86: String[] parts = uri.split("\\+");
- Line  117: We concat expressions, without realizing that + was within the RAW function.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message