[rules-users] Drools and Jersey
Mauricio Salatino
salaboy at gmail.com
Wed Mar 14 10:57:49 EDT 2012
what are you trying to do?
what's the error?
the rule should look like
rule "create Rest Client"
when
then new Client();
end
2012/3/14 mike <mikemps at gmail.com>
> 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
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jugargentina.org
- Co-Founder @ http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120314/f43e7d21/attachment.html
More information about the rules-users
mailing list