THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Note that this component is only available in releases >= 3.1 and deprecate the older lightweight Drools component
Maven Archetype
You can create a Drools Service Unit using the servicemix-drools-service-unit:
Code Block |
---|
mvn archetype:create \
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-drools-service-unit \
-DarchetypeVersion=2010.01 \
-DgroupId=your.group.id \
-DartifactId=your.artifact.id \
-Dversion=your-version
|
JbiHelper
DRL files deployed to the servicemix-drools
engine have access to a JbiHelper
class in a global variable named jbi
which provides the following attributes and methods:
...