Here, we are going to develop a Camel application that integrates e-mails, filesystem operations, and web services as means of communication.
As we have our project set up, we will go ahead and add a few dependencies. First, we will add
slf4j-simple to the project dependencies so we can see what's going on in the console.
<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>1.7.2</version> </dependency>
Then, we will add the following code to the file
package com.company.cuscom; import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.impl.DefaultCamelContext; public class App ...