Skip to content

Example from the "Getting Started with Apache ServiceMix" webinar, showing a few Camel routes that are connected using ActiveMQ queues.

Notifications You must be signed in to change notification settings

FuseByExample/rider-auto-osgi

 
 

Repository files navigation

Example from "Getting Started with Apache Servicemix" webinar

The Camel routes used in this example are explained by the following diagram:

EIP Diagram

To run this example project build the project and deploy to ServiceMix
according to the steps below.

Setup

  • Install Apache Maven 3+

    • Download distribution from http://maven.apache.org.
    • Unzip the downloaded Maven distribution to a location on your hard disk that you find suitable.
    • configure this location as the environment variable MAVEN_HOME
    • add MAVEN_HOME/bin to your PATH environment variable
  • Install JBoss Fuse 6.3.0

Build & Run

  1. Build this project so bundles are deployed into your local maven repo

    $ mvn clean install

  2. Start JBoss Fuse

    $ bin/fuse

  3. Install the activemq-camel feature

    JBossFuse:karaf@root> features:install activemq-camel

  4. Add this projects features.xml config to Fuse from the Console (makes it easier to install bundles with all required dependencies)

JBossFuse:karaf@root> features:addUrl mvn:org.fusesource.examples/rider-auto-common/4.0-SNAPSHOT/xml/features

  1. Install the project.

    JBossFuse:karaf@root> features:install rider-auto-osgi

  2. To test the file processing, there are existing files in the rider-auto-common module.

    ' $' cp rider-auto-common/src/data/message1.xml ''/target/placeorder

    To see what happened look at the log file, either from the console

    JBossFuse:karaf@root> log:display

    or from the command line

    '' $ tail -f data/log/fuseesb.log

  3. To test the WS, use your favorite WS tool (e.g. SoapUI) against the following WSDL hosted by the rider-auto-ws bundle.

About

Example from the "Getting Started with Apache ServiceMix" webinar, showing a few Camel routes that are connected using ActiveMQ queues.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%