9.3. Install JBoss Fuse Integration Quickstart Applications

The following features for JBoss Fuse integration quickstart applications are provided by org/jboss/integration/fuse/quickstarts/karaf-features/<FUSE_INTEGRATION_PACKAGE_VERSION>/karaf-features-<FUSE_INTEGRATION_PACKAGE_VERSION>-features.xml:
  • fuse-bxms-switchyard-quickstart-bpm-service
  • fuse-bxms-switchyard-quickstart-rules-camel-cbr
  • fuse-bxms-switchyard-quickstart-rules-interview
  • fuse-bxms-switchyard-quickstart-rules-interview-container
  • fuse-bxms-switchyard-quickstart-rules-interview-dtable
  • fuse-bxms-switchyard-demo-library
  • fuse-bxms-switchyard-demo-helpdesk
  • fuse-bxms-camel-blueprint-drools-decision-table
  • fuse-bxms-camel-spring-drools-decision-table
  • fuse-bxms-jbpm-workitems-camel-quickstart
  • fuse-bxms-spring-jbpm-osgi-example
This file (and supporting repositories) is located in http://repository.jboss.org/nexus/content/repositories/public, which is already configured for use on JBoss Fuse 6.2 out of the box in installDir/etc/org.ops4j.pax.url.mvn.cfg.

Procedure 9.4. Installing the Quickstart Application

  1. Add a reference to the features file by running the following console command:
    JBossFuse:karaf@root> features:addurl mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.0.0.redhat-620137/xml/features
  2. You can now install the quickstart applications provided by this features file by running, for example, the following console command:
    JBossFuse:karaf@root> features:install fuse-bxms-switchyard-quickstart-bpm-service

Procedure 9.5. Downloading and Installing the Quickstart ZIP Files

  1. Download the quickstart application ZIP file.
  2. Unpack the contents of the quickstarts directory into your existing installDir/quickstarts directory.
  3. Unpack the contents of the system directory into your existing installDir/system directory.

9.3.1. Testing Your First Quickstart Application

Procedure 9.6. Testing the Quickstart Application

  1. Start JBoss Fuse:
    $ ./installDir/bin/fuse
  2. Install and start the switchyard-bpm-service by running the following console command:
    JBossFuse:karaf@root> features:install fuse-bxms-switchyard-quickstart-bpm-service

    Note

    Any dependent features specified by the application’s features file will be installed automatically.
  3. Submit a webservice request to invoke the SOAP gateway.
    1. Open a terminal window and navigate to the associated quickstart directory that was unpacked from the quickstart application ZIP file (in this case, switchyard-bpm-service).
    2. Run the following command:
      $ mvn clean install

      Note

      You will need the following repositories configured in your settings.xml file:
      • http://maven.repository.redhat.com/ga/
      • http://repository.jboss.org/nexus/content/repositories/public/
    3. Run the following command:
      $ mvn exec:java -Pkaraf
  4. You will receive the following response:
    SOAP Reply:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/><soap:Body><ns2:submitOrderResponse xmlns:ns2="urn:switchyard-quickstart:bpm-service:1.0">
        <orderId>test1</orderId>
        <accepted>true</accepted>
        <status>Thanks for your order, it has been shipped!</status>
    </ns2:submitOrderResponse></soap:Body></soap:Envelope>