All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rvicemix.servicemix-drools.2013.01.source-code.servicemix-drools.xsd.html Maven / Gradle / Ivy

Go to download

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

ElementDescriptionClass
componentorg.apache.servicemix.drools.DroolsComponent
endpointorg.apache.servicemix.drools.DroolsEndpoint
namespace-contextA NamespaceContext implementationorg.apache.servicemix.drools.support.NamespaceContextImpl

Element Detail

Element: component

ElementTypeDescription
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

AttributeTypeDescription
autoReplyxs:booleanWill this endpoint automatically reply to any exchanges not handled by the Drools rulebase?
defaultTargetServicexs:QNameThe default service that the exchange will be sent to if none of the rules have handled it.
defaultTargetURIxs:stringThe default endpoint URI that the exchange will be sent to if none of the rules have handled it.
endpointxs:string

Get the endpoint implementation.

interfaceNamexs:QName

Get the qualified name of the endpoint interface.

servicexs:QName

Get the service qualified name of the endpoint.

ElementTypeDescription
assertedObjects(<spring:bean/>)*List of additional objects to be inserted into the drools working memory for evaluating rules.
componentcomponent
globals<spring:bean/>The global variables that are available while evaluating the rule base.
namespaceContextnamespace-contextThe 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

ElementTypeDescription
namespaces<spring:bean/>Keep the getter/setter to keep xbean annotation




© 2015 - 2024 Weber Informatics LLC | Privacy Policy