Hi See this page http://camel.apache.org/configuring-camel.html
RAW requires Camel 2.11 On Thu, May 30, 2013 at 9:12 AM, jwhitver <[email protected]> wrote: > Hello, > > Camel version: 2.10.3 > > I have a route that is kicked off via a JMS message. From here it needs to > connect to an FTP server and download a file. I understand that I should be > using a pollEnrich or enrich endpoint to handle this case. > > My issue is that my FTP password contains a "&". I have attempted to use > the RAW() encoding for the password but this doesn't seem to be supported by > the enrich/pollEnrich uri. > > Here is a simplified version of my route: > > <camel:route id="ftpRoute"> > > <camel:from uri="jms:queue:InQ" /> > > <camel:enrich uri="ftp:username@ftp-server/path?password=RAW(password&1234)" > /> > > > > </camel:route> > > The exception I am getting is: > > Failed to create route ftpRoute at: >>> > Enrich[ftp:username@ftp-server/path?password=RAW(password&1234) null] <<< in > route: Route[[From[jms:queue:InQ]] because of Failed to resolve endpoint: > ftp//:username@ftp-server/path?password=RAW%28password&1234%29 due to: > Failed to resolve endpoint: > ftp//:username@ftp-server/path?password=RAW%28password&1234%29 due to: There > are 1 parameters that couldn't be set on the endpoint. Check the uri if the > parameters are spelt correctly and that they are properties of the endpoint. > Unknown parameters=[{1)=null}] > > Is the RAW() format accepted by the enrich/pollEnrich endpoint? Is there > any other way I can make this work? > > I have searched for a similar issue but have been unable to find a solution. > Any help would be appreciated. > > Thanks, > > Jacob Whitver > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/pollEnrich-with-ftp-uri-and-RAW-password-tp5733454.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: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
