My 5th Camel Ride

Christina Lin

  • Before we begin, we are going to install JBoss Fuse, unzip the “jboss-fuse-full-6.2.0.redhat-133.zip" file.
  • Unzip the file to any lab directory.
  • For Windows user, please make sure there are no space or special character named in your path.
  • Go to $FUSE_INSTALLED_FOLDER/etc folder and find a file name “users.properties”  open it, and remove the # character before user setting. It will look like this :

    • admin=admin,admin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser
  • And save the file

Go back to JBoss Developer Studio, Open pom.xml and change the name of project

Right click on the project console, select "New", and then "others" and then select "Server" on the popup window, then double click on "JBoss Fuse 6.2 server"

Set Home Directory to $FUSE_INSTALLED_FOLDER Directo

Enter admin/admin for User Name and Password

Under Server tab, will see the new Fuse 6.2 server icon appear

Start the Server by right click on JBoss Fuse 6.2 Runtime server and select "Start"

Make sure it's in Fuse integration perspective 

After Successfully started the server, you will see shell appear in the console

Install the features needed in Karaf for our bundle:

  • feature:install camel-jackson
  • feature:install camel-dozer
  • feature:install camel-jaxb
  • feature:install camel-jms
  • feature:install activemq-camel

Add our "example" application to the server:

Check if the all feature and application has started by typing the following command in shell console

  • osgi-list                                                                                

Or you can go to http://localhost:8181, login with 

  • username: admin
  • password :admin                                                                         

In the Fuse admin console, you can find out the OSGi service installed, it's under OSGi -> Bundles

Click on route1, and you will see the camel route appear in the left hand window.

Refresh JMX console (right click on panel, choose "refresh"), double click on "JBoss Fuse", you will see a Camel process appear. 

Paste or move data files to the Endpoint

  • myxml?delete=true
  • otherVendor                                    

You will then see all the statics and route the message has been traveled in route.

You can shutdown JBoss Fuse right click on "JBoss Fuse 6.2 runtime server" and choose stop.

Remove application by going to server and remove the application

5th Camel Ride completed!

Made with Slides.com