Hi all,

I've two questions about the usage of drools 3.1 component.

1)Is possible to specify a default "target service" where the message will be routed if no one of the
rule specified in thre rulebase file has been executed????

This is due to a use case where i want to use the drools component as a "semantic validator" where a jbi fault must be generated according to some rulebase otherwise i want to specify the default target service for the normal execution.

Probably this is possible including a rule that route to this target service at the end of the drl file, what i'm asking here if there is another way of doing this.


2) Is possible to access datasource defined in smx jndi in the drools drl file?? This is because because some semantic validation can require to validate the message content querying
   a database??

Thank you

Andrea Zoppello
Engineering Ing. Informatica

Reply via email to