Search

Chapter 8. Integrating JBoss BRMS and JBoss BPM Suite with JBoss Fuse

download PDF
Red Hat JBoss Fuse integration allows users of JBoss Fuse to complement their integration solution with additional features provided by JBoss BPM Suite and JBoss BRMS. Integration is provided by two features.xml files: one providing core JBoss BPM Suite and JBoss BRMS features, and the other providing additional support for integration with SwitchYard and Camel.
Important
SwitchYard integration is a Technical Preview in JBoss Fuse 6.2, and is therefore not currently supported.
Note
For users of JBoss Fuse 6.1, only the core JBoss BPM Suite and JBoss BRMS features, provided by the following features file, are supported. Customers who are using an earlier version of this file must update it.
Core JBoss BPM Suite and JBoss BRMS features are provided by drools-karaf-features-6.2.0.Final-redhat-6-BZ1232486-features.xml:
  • drools-common
  • drools-module
  • drools-templates
  • drools-decisiontable
  • drools-jpa
  • kie
  • kie-ci
  • kie-spring
  • kie-aries-blueprint
  • jbpm-commons
  • jbpm-human-task
  • jbpm
  • droolsjbpm-hibernate
  • h2
This features file (and supporting repositories) is currently provided as a patch — Integration Pack contains references related to non-supported jars — that you can download from the Red Hat Customer Portal under JBoss BRMS or JBoss BPM Suite.
The following table lists some sample use cases and the corresponding features that are required to support them.
Table 8.1. Sample Use Cases and Corresponding Features
Use Case Feature(s)
I need to use Drools engine for rules evaluation. I do not need persistence, processes, nor decision tables. Install drools-module.
I need to use Drools engine for rules evaluation with persistence and transactions. I do not need processes, nor decision tables. Install drools-jpa (which includes drools-module). You might also want to install the droolsjbpm-hibernate feature, or ensure there is a compatible hibernate bundle installed.
I need to use Drools engine with decision tables. Install drools-decisiontable (which includes drools-module). If you need persistence, install drools-jpa as well.
I need to use jBPM engine (or Drools engine with processes). Install jbpm feature (which includes drools-module and drools-jpa). You might also want to install droolsjbpm-hibernate feature, or ensure there is a compatible hibernate bundle installed.
I need to use jBPM engine (or Drools engine with processes) with Human Task. Install jbpm and jbpm-human-task.
I need to use Drools/jBPM with KieScanner (KIE-CI) to be able to download kJARs from a Maven repository. Install required core engine jars (see row above) and kie-ci.
I need to use KIE-Spring integration. Install kie-spring.
I need to use KIE-Aries-Blueprint integration. Install kie-spring and kie-aries-blueprint.
The following additional features for integration with SwitchYard and Camel on JBoss Fuse are provided by org/jboss/integration/fuse/karaf-features/1.0.0.redhat-620137/karaf-features-1.0.0.redhat-620137-features.xml:
  • fuse-bxms-switchyard-common-knowledge
  • fuse-bxms-switchyard-rules
  • fuse-bxms-switchyard-bpm
  • kie-camel
  • jbpm-workitems-camel
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.

8.1. Install Core JBoss BRMS and JBoss BPM Suite Features

Use the following procedure to add core features for JBoss BRMS and JBPM Suite.

Procedure 8.1. 

  1. The lastest supported version of these features are provided as a patch — Integration Pack contains references related to non-supported jars — that you can download from the Red Hat Customer Portal under JBoss BRMS or JBoss BPM Suite. Download and install this patch.
    1. Download the patch and unzip it.
    2. Navigate to the unzipped BZ-1232486 directory.
    3. Run the following console command:
      $ mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=drools-karaf-features-6.2.0.Final-redhat-6-BZ1232486-features.xml -DgroupId=org.drools -DartifactId=drools-karaf-features -Dversion=6.2.0.Final-redhat-6-BZ1232486 -Dpackaging=xml -Dclassifier=features
  2. Configure the required repositories.
    1. Edit the installDir/etc/org.ops4j.pax.url.mvn.cfg file in your JBoss Fuse installation and add the following entry to the org.ops4j.pax.url.mvn.repositories variable, noting that entries are separated by ‘, \’:
      • http://maven.repository.redhat.com/techpreview/all/@id=bxms-product-repo
  3. Start JBoss Fuse:
    $ ./installDir/bin/fuse
  4. Add a reference to the core features file by running the following console command:
    JBossFuse:karaf@root> features:addurl mvn:org.drools/drools-karaf-features/6.2.0.Final-redhat-6-BZ1232486/xml/features
  5. You can now install the features provided by this file by running, for example, the following console command:
    JBossFuse:karaf@root> features:install drools-module
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.