pfx-sftp: no method

Using the pfx-sftp component without a method requires username, password, URL and port. This option is very much similar to the camel-sftp component.

Properties

No additional properties. Use properties from camel-sftp component.

Examples

Use of the pfx-sftp component with an explicitly defined SFTP endpoint:

<route>     <from uri="pfx-sftp:radek@someftpserver.com:22/public/directory?password=secret&binary=true&move=.done&moveFailed=.error&doneFileName=fileWithout.done&useUserKnownHostsFile=false"/>     <log message="Raw file = ${body}"/>                       <to uri="mock:test"/> </route>

 

Use of the pfx-sftp component with a defined SFTP endpoint (with protocol):

<route>     <from uri="pfx-sftp:sftp://user@localhost/mydirectory?password=secret&amp;binary=true&amp;move=.done&amp;moveFailed=.error&amp;doneFileName=fileNew.done&amp;useUserKnownHostsFile=false"/>                      <log message="Raw file = ${body}"/>     <to uri="mock:test"/> </route>

IntegrationManager version 5.8.0