Procedure
- Double-click the component labeled Sender to display its Basic settings view in the Component tab.
-
In the URI field, type in the URI of the
message you want to route.
Here, we are using an FTP component:
ftp://indus@degas/remy/camel
with URI specific parameters authenticating the FTP connection:?username=indus&password=indus
. -
For the FTP component to work in Camel, click the Advanced settings tab of cMessagingEndpoint, click the [+] button to add a Camel component in the Dependencies table, and select
ftp from the Camel
component list to activate the FTP component.
- Double-click the component labeled Receiver to open its Basic settings view in the Component tab.
-
In the URI field, type in the URI of the
folder to which you want your message to be routed.
As we are handling files, type in "file:///" and the path to the folder to which the files will be sent.
- Press Ctrl+S to save your Route.