Thanks for your reply. We do use "mvel".
I found out that we have to change our signature in JAVA from
methodA(String...) to methodA(String[])
and call it in rule like this:
bjA.methodA(new String[]{"string1"});
then it worked.
--
View this message in context:
http://drools.46999.n3.nabble.com/how-to-invoke-java-method-with-variable...
Sent from the Drools: User forum mailing list archive at
Nabble.com.