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