[rules-users] Getting a Drools Fusion - CEP Example to work

Mauricio Salatino salaboy at gmail.com
Mon Apr 11 11:21:13 EDT 2011


did you try setting the mvel dialect inside the rules?
rule "my rule"
 dialect "mvel"
when

then

end

??

On Mon, Apr 11, 2011 at 12:17 PM, s.Daniel <sdaniel at wobster.de> wrote:

> Now I realy feel a bit silly. I banged my head on this for hours and then
> just after I write you I get a step further. I changed mvl mode and
> replaced
> line 78 in Tester.java with:
> PackageBuilderConfiguration conf = new PackageBuilderConfiguration();
>                ((MVELDialectConfiguration)
> conf.getDialectConfiguration("mvel")).setStrict(false);
>                ((MVELDialectConfiguration)
> conf.getDialectConfiguration("mvel")).setLangLevel(5);
>                        KnowledgeBuilder builder = KnowledgeBuilderFactory
>                                        .newKnowledgeBuilder(conf);
>
>
> Now the markers are still being displayed but the code compiles and runs.
> If
> someone would take the time to explain this to me I'd be very thankful.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Getting-a-Drools-Fusion-CEP-Example-to-work-tp2806952p2806987.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 - CTO @ http://www.plugtree.com
 - MyJourney @ http://salaboy.wordpress.com
 - 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/20110411/03ba0b54/attachment.html 


More information about the rules-users mailing list