[rules-users] Drools and Jersey

mike mikemps at gmail.com
Wed Mar 14 10:55:27 EDT 2012


Hi there,

I am trying to make rest calls from Drools. For that I am using Jersey
http://jersey.java.net/. I cannot no get it to work if I use mvel,
otherwise it works fine.

Here is a sample rule:
----------------------------------------------------------
import com.sun.jersey.api.client.Client;

dialect  "mvel"

rule "create Rest Client"
    then new Client();
end
----------------------------------------------------------

I would love to be able to use mvel since it curves java syntax :)

Thank you
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120314/76d9c12b/attachment.html 


More information about the rules-users mailing list