HI , i have 2 queries regarding drools usage
Question 1:
-------------
I have developed a small drl file using eclipse drools plugin.
In this file i have used the funtion in.valueOf() which is provided by the
Message class of JBIHelper.
In the eclipse program with drools IDE it works fine but when i use the same
drl file in the servicemix 3.1 by creating a servicemix-drools su i am
getting the following error while deploying the SA.
in.valueOf(String) not found in Message........
Then i removed all these statements. But now , the SA is getting deployed
sucessfully but when i send a request to the drl file, i am getting the
following exception.
java.lang.Exception: No Matching rules found. Check your rule base.
What could be the reason for this.
Question 2:
I am using xpath queries so many times in the following way:
eval(in.xpath("//status"))
To perform this operation , the contents of IN message needs to be converted
into DOM and this will be done by JAXPXPathExpression.java internally. But
my question is does it converts the IN message in to a dom node for each and
every xpath query in the drl file or caches some where.
If it converts the In Message into DOM every time then the performance will
be effected . Am i right.
Please clarify these based upon these i need to decide whether i can go for
drools or not .
Thanks in advance.
-----
Cheers
Praveen Oruganti
"Think before you act and act on what you believe"
--
View this message in context:
http://www.nabble.com/Problems-with-in.valiueOf%28%29-function-in-jbiHelper-tp16678800p16678800.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.