Deployment on JBoss Fuse | JavaInUse

JBoss Fuse Tutorial - Configuring the Development Environment for deployment of Camel Project on JBoss Fuse

Apache Camel - Table of Contents

File Transfer Using Java DSL Apache Camel Apache Camel Java DSL + Spring Integration Hello World Example Apache Camel Exception Handling Using Simple Example Apache Camel Redelivery policy using example Integrate Apache Camel and ActiveMQ EIP patterns using Apache Camel Apache Camel Tutorial- Integrate Spring Boot+ Apache Camel Apache Camel Tutorial- Integrate with MySQL DB using SQL query Apache Camel EIP - Splitter and Aggregator pattern Apache Camel Unit Testing Apache Camel + Spring + Quartz Hello World Example Camel application deployment on JBoss Fuse Apache Camel + Apache CXF SOAP Webservices Apache Camel + JAX-RS REST Webservice Apache Camel + CXFRS REST Webservice Apache Camel Routing Slip EIP Pattern Apache Camel Dynamic Router Pattern Apache Camel Load Balancer EIP Pattern Apache Camel Interceptors Apache Camel + Kafka Hello World Example Apache Camel - Marshalling/Unmarshalling XML/JSON Data Example


In the previous chapter we went through Apache Camel and its features. In this chapter we will do the project setup which will be required throughout this series.
We will be creating a Maven project with minimum dependencies added to POM for getting Camel up and running.
In future chapters further dependencies will be added to the POM.xml as and when required. The dependencies are added for deploying our application on JBoss Fuse

Lets Begin

For this series we will be using
1. Eclipse IDE(Luna)
We will be creating a Maven Project.
Open the Eclipse IDE.
1. Go to File->other->Maven Project.Click Next Button.

2. If not already selected, select Use default Location,select a simple project. Click Next Button.

4. Enter the values for Group Id as com.javainuse and Artifact Id as camel-test.

5. Click Finish

Our Maven Web Project is now created.
Under the resources folder create Folders->META-INF->spring. This is the default path where
Fuse looks for the config files. We will now modify the pom.xml file as follows-
Add dependencies required for Apache Camel- Here we have only added the camel-core dependency.
Other dependencies will be added in future chapter as required. After modification our pom.xml file is as follows-
<project xmlns="" xmlns:xsi=""


Here we have configured the packaging as Bundle. This is the packaging
required by Jboss Fuse server. For achieving this packaging we have added the Apache Felix Plugin
Now run the following Maven command.
1. clean:install - This will download the dependencies required.
So our Eclipse is now configured.
Eclipse project structure at the end of this chapter is as follows-

What Next?

In the next chapter will implement Apache Camel Hello World Project and deploy it on JBoss Fuse.