what are you trying to do?<div>what's the error?</div><div><br></div><div>the rule should look like</div><div><br></div><div><div>rule "create Rest Client"</div><div> when</div><div> then new Client();</div>
<div>end</div><br><div class="gmail_quote">2012/3/14 mike <span dir="ltr"><<a href="mailto:mikemps@gmail.com">mikemps@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there,<div><br></div><div>I am trying to make rest calls from Drools. For that I am using Jersey <a href="http://jersey.java.net/" target="_blank">http://jersey.java.net/</a>. I cannot no get it to work if I use mvel, otherwise it works fine. </div>
<div><br></div><div>Here is a sample rule:</div><div>----------------------------------------------------------</div><div><div>import com.sun.jersey.api.client.Client;</div><div><br></div><div>dialect "mvel"</div>
<div><br></div><div>rule "create Rest Client"</div><div> then new Client();</div><div>end</div></div><div>----------------------------------------------------------</div><div><br></div><div>I would love to be able to use mvel since it curves java syntax :) <br>
</div><div><br></div><div>Thank you<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Mike</div>
</font></span><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><div> - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br>
- Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino "Salaboy" Mauricio -</div><br>
</div>