rvicemix.servicemix-drools.2013.01.source-code.servicemix-drools.xsd.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of servicemix-drools Show documentation
Show all versions of servicemix-drools Show documentation
The ServiceMix Drools component provides JBI integration to the Drools Rules Engine. It 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.
The newest version!
Schema for namespace: http://servicemix.apache.org/drools/1.0
Element Summary
Element Description Class
component org.apache.servicemix.drools.DroolsComponent
endpoint org.apache.servicemix.drools.DroolsEndpoint
namespace-context A NamespaceContext implementation org.apache.servicemix.drools.support.NamespaceContextImpl
Element Detail
Element: component
Element Type Description
endpoints (endpoint)*
executorFactory <spring:bean/> The executor factory to use to create the executor.
If none is provided, one will be retrieved from the JBI container when the component
is deployed into ServiceMix 3.x, or a default implementation will be used.
Element: endpoint
Attribute Type Description
autoReply xs:boolean Will this endpoint automatically reply to any exchanges not handled by the Drools rulebase?
defaultTargetService xs:QName The default service that the exchange will be sent to if none of the rules have handled it.
defaultTargetURI xs:string The default endpoint URI that the exchange will be sent to if none of the rules have handled it.
endpoint xs:string
Get the endpoint implementation.
interfaceName xs:QName
Get the qualified name of the endpoint interface.
service xs:QName
Get the service qualified name of the endpoint.
Element Type Description
assertedObjects (<spring:bean/>)* List of additional objects to be inserted into the drools working memory for evaluating rules.
component component
globals <spring:bean/> The global variables that are available while evaluating the rule base.
namespaceContext namespace-context The namespace context to use when evaluating the rules.
ruleBase <spring:bean/> Set the rule base to be used for handling the exchanges
ruleBaseResource <spring:bean/> Specifies the resource location to load the rule base from (.drl file)
ruleBaseURL <spring:bean/> Specifies a URL to load the rule base from (.drl file)
su <spring:bean/>
Element: namespace-context
Element Type Description
namespaces <spring:bean/> Keep the getter/setter to keep xbean annotation
© 2015 - 2024 Weber Informatics LLC | Privacy Policy