Hi,
I am running into some expression evaluation issues, mostly revolving
around MVEL scripting in the RHS and some expression evals on the left
hand side.
Specifically, here are some of my questions
1) Does Drools support bitwise operators inside the rules? I've tried
all different kinds of combinations, but it doesn't seem to like it.
This is happening on the LHS. I believe I tried it on the RHS and it
still causes compile exceptions. My understanding is that MVEL 2.0
supports Bitwise ops.
2) Object casting. Strangely, on the RHS, I have a Float that doesn't
want to cast to float. Doesn't Drools (or perhaps MVEL) do auto-
unboxing?
3) Function calling. I read somewhere that MVEL cannot call out to a
declared function in the rule. So that means, the rule will have to
be in Java mode. Also, the function can only be written in java
style, not mvel. Am I correct on this one?
Thank you,
CK