Drools 5.1 Expands Spring Support, Adds CXF, Camel, and JMX Monitoring
The Integration Zone is brought to you in partnership with Red Hat. Download the IDC Report: The Business Value of Red Hat Integration Products to learn more about Red hat Integration.
Drools provides a unified, integrated platform for Workflow, Rules, and Event Processing. Each aspect of the platform is designed as a first class citizen. The five sub projects include:
- Drools Guvnor (BRMS/BPMS)
- Drools Expert (rule engine)
- Drools Flow (process/workflow)
- Drools Fusion (event processing/temporal reasoning)
- Drools Planner
Drools Intro Video
What's New?Since Drools 5.0, you've been able to configure a KnowledgeBase with an XML change-set instead of programatically. In the 5.1 API the change-set namespace is versioned, meaning the 1.0.0 xsd should be referenced.
The core additions to Drools 5.1 include JMX monitoring, expanded Spring support, Camel support, CXF support, a Session Inspection and Reporting Framework, and Knowledge Agent Incremental Change Support.
For Spring, the XSD can be found in the drools-spring jar. "http://drools.org/schema/drools-spring" is the namespace:
<?xml version="1.0" encoding="UTF-8"?>
<drools:resource id="resource1" type="DRL" source="classpath:org/drools/container/spring/testSpring.drl"/>
<drools:resource type="DRL" source="classpath:org/drools/container/spring/testSpring.drl"/>
<drools:resource source="classpath:org/drools/container/spring/IntegrationExampleTest.xls" type="DTABLE">
<drools:decisiontable-conf input-type="XLS" worksheet-name="Tables_2" />
<drools:mbeans enabled="true" />
<drools:event-processing-mode mode="STREAM" />
Drools Expert includes a differential update which has reduced memory consumption and increased scalability. Exit points have been replaced by channels and live queries are now supported.
Implementation of the BPMN 2.0 specification has expanded in Drools Flow as well as throughout the entire Drools tool chain. Drools Flow also includes a new web-based management console, pluggable variable persistence, improved process instance migration, and an installer that simplifies installation of Drools Guvnor, the Eclipse plugin, and the GWT console.
Drools Guvnor now has a cleaner appearance and adds several new features:
- Inbox for monitoring changes
- Bulk Importer
- Built in Selector
- Rule Templates
- Fact Constraints
- Guided editor improvements
- Working Sets
- Oryx integration for web based BPMN2 editing
For the full rundown of Drools 5.1's many new features, check out this section of the Drools Docs.