Processing with a Camel - How To Integrate JBoss BPM and JBoss Fuse
Join the DZone community and get the full member experience.Join For Free
With the release of the newer versions of the products JBoss BPM Suite 6.1 and JBoss Fuse 6.1.1, we wanted to revisit the integration demo.
We have brought the JBoss BPM Suite and JBoss Fuse Integration Demo project up to date with these latest releases.
These products are used to get you started integrating your BPM projects with your Apache Camel architecture in minutes.
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.
There are plans to expand this demo project with various integration scenarios or use cases, but for now we start with just a single story around using a JBoss Fuse camel route to interact with a rules and process project deployed onto JBoss BPM Suite.
|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. There will be more expansion and if you have a use case you would like to see then just let us know.
The project can be found on github and has documentation to get you up and running in minutes.
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.
|A 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:
Download and unzip.
Camel route with visual message count
- Add products to installs directory.
- Run 'init.sh' or 'init.bat'.
- Start the JBoss BPM Suite server, login, build and deploy JBoss BPM Suite process project at http://localhost:8080/business-central (u:erics/p:bpmsuite).
- 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>
- Start Fuse Server and start up fabric in fuse console:
- Deploy simple route from projects/brms-fuse-integration/simpleRoute:
- Login to Fuse management console at: http://localhost:8181 (u:admin/p:admin).
- Connect to root container with login presented by console (u:admin/p:admin)
- Create container name c1 and add BPMSuiteFuse profile (see screenshot below)
Trigger camel route by placing support/data/message.xml files into target/jboss-fuse-6.1.1-redhat-412/instances/c1/src/data folder (rename this message on copy for multiple runs)
Looking to Automate your business?
- Enjoy the demo!
This upgrade was made possible in part by the good work of Jeff Bride, a colleague at Red Hat that works wonders in his day job.
We hope you enjoy this updated demo showcasing JBoss Fuse integration with JBoss BPM Suite.
Published at DZone with permission of Eric D. Schabell, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.