Eric D. Schabell: Processing with a Camel - Updated Integration with JBoss BPM and JBoss Fuse 6.2

Monday, August 10, 2015

Processing with a Camel - Updated Integration with JBoss BPM and JBoss Fuse 6.2

With the release of JBoss Fuse 6.2, we wanted to revisit the integration demo. Christina Lin put the fine touches on all JBoss Fuse updates, added parameter passing to a process from the Camel and Andrew Block added an all new installation setup for Windows users.

With these changes we have brought the JBoss BPM Suite and JBoss Fuse Integration Demo project up to date and feel that you have a great example of their integration capabilities.

This project provides an automated installation (repeatable) in minutes where you get JBoss BPM Suite running on an instance of JBoss EAP and a separate instance of JBoss Fuse in its very own Karaf container.

This demo project tells a single story around using a JBoss Fuse camel route to interact with a rules and process project deployed onto JBoss BPM Suite.

Background

External BPM customer evaluation process.
This demo is brought to you in part by our very own Christina Lin who is the JBoss Technology Evangelist that focuses on JBoss Fuse & messaging products. If you have a use case you would like to see then just let us know by raising an issue on the project.

The project can be found on github and has documentation to get you up and running in minutes.

Demo details

Upon starting the server you will find a JBoss BPM Suite setup with the Customer Evaluation project ready for you to inspect, build and deploy for use by the JBoss Fuse camel route we will deploy.

New container in JBoss Fuse.
The JBoss Fuse component of this demo consists of setting up a new container to deploy our camel route into, where we then watch messages get processed live in the management console as we push them into the waiting queue. Each message will trigger an external call out to the deployed BPM process to evaluate our customer.

Installing and running

The following steps will get you up and running in a matter of minutes with this fully automated and repeatable demo:
Camel route.
  1. Add products to installs directory.
  2. Run 'init.sh' or 'init.bat'.
  3. Start the JBoss BPM Suite server, login, build and deploy JBoss BPM Suite process project at http://localhost:8080/business-central (u:erics/p:bpmsuite1!).
  4. Add fabric server passwords for Maven Plugin to your ~/.m2/settings.xml file the fabric server's user and password so that the maven plugin can login to the fabric.
     <!-- Login for fabric repo -->
    <servers>
      <server>
        <id>fabric8.upload.repo</id>
        <username>admin</username>
        <password>admin</password>
      </server> 
    </servers> 
    
  5. Login to Fuse management console at: http://localhost:8181 (u:admin/p:admin).
  6. Connect to root container with login presented by console (u:admin/p:admin)
  7. Create container name c1 and add demo-bpmsuitefuseintegration profile (see screenshot below)
  8. Looking to Automate your business?
    Trigger camel route by placing support/data/message.xml files into target/jboss-fuse-6.1.1-redhat-412/instances/c1/customerData folder (rename this message on copy for multiple runs)
  9. Enjoy the demo!
We hope you enjoy this updated demo showcasing JBoss Fuse integration with JBoss BPM Suite.