| h2. servicemix-drools |
| |
| h3. 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. |
| |
| h4. 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}}. |
| {pygmentize:lang=xml} |
| <beans xmlns:drools="http://servicemix.apache.org/drools/1.0"> |
| |
| <!-- add drools:endpoint definitions here --> |
| |
| </beans> |
| {pygmentize} |
| |
| h4. Endpoint types |
| The servicemix-drools component defines one endpoint type: |
| - {{drools:endpoint}} :: no description yet |
| |