blob: dd5b76dbb18e3d55a63f4c36a9a5347672ad3009 [file] [log] [blame]
h1. servicemix-drools
h2. Overview
The ServiceMix Drools component provides JBI integration to the Drools Rules Engine.
This Service Engine can be used to deploy a rules set that will implement a router or an actual service.
A router will mostly act as a transparent proxy between the consumer and the target service provider mad will mostly be implemented by the jbi.route(uri) method below. This method creates a new exchange identical to the one received by the component and will send it to the specified destination. You can also send back a Fault if needed. A router can also be implemented by using directly the JBI Apis (available with the jbi helper) by using the provided client.
h3. Namespace and xbean.xml
The namespace URI for the servicemix-bean JBI component is {{http://servicemix.apache.org/drools/1.0}}. This is an example of <filename>xbean.xml</filename> file with a namespace definition with prefix {{bean}}.
{code}
<beans xmlns:drools="http://servicemix.apache.org/drools/1.0">
<!-- add drools:endpoint definitions here -->
</beans>
{code}
h3. Endpoint types
The servicemix-drools component defines one endpoint type:
- {{drools:endpoint}} :: no description yet