I am experimenting with Spring Boot and Camel. I have a simple route:
@Component
public class MyRoute extends RouteBuilder {
@Override
public void configure() throws Exception {
from("ftp://localhost/INBOUND?username=blah&password=foo")
.to("file:/tmp/test");
}
}
My pom file has:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-boot-starter</artifactId>
<version>2.18.3</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-ftp</artifactId>
<version>2.18.3</version>
</dependency>
On startup I get the following error:
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route2: Route(route2)[[From[ftp://localhost/INBOUND?username=blah... because of Failed to resolve endpoint: ftp://localhost/INBOUND?password=set42now&username=comcast due to: No component found with scheme: ftp
Any ideas?
camel-ftp-starter
dependency name. – Strelokcamel-ftp-started
dependency. – Khaled