[rules-users] How to deploy Fusion ?

Wolfgang Laun wolfgang.laun at gmail.com
Sun Sep 4 13:09:54 EDT 2011


You can kickstart the Drools (and any similar) engine by telling them to do
all that needs to be done and then take Time off forever and a day
(fireAllRules), or to stay alert and catch them as they come
(fireUntilHalt). You might guess that the latter implies multiple threads.
-W

On 4 September 2011 18:38, eskomk <esko.hujanen at ebsolut.fi> wrote:

> Hi W,
>
> Thank you!
>
> Adding fire-all-rules did the trick:
>
> <batch-execution lookup="ksession1">
>  <insert out-identifier="msg_11707096">
>   <path.to.AAABean>
>       <boxID>7</boxID>
>       <sensorID>37</sensorID>
>       <open>true</open>
>       <countOpened>4</countOpened>
>   </path.to.AAABean>
>  </insert>
>  <fire-all-rules out-identifier="firedActivations"/>
> </batch-execution>
>
> It somewhat obscured that when dealing with plain facts there was no need
> to
> explicitly call fireAllRules ... Why ?
>
> Cheers,
> Esko
> ------
> Esko Hujanen
> http://www.ebsolut.fi
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-deploy-Fusion-tp3287119p3308842.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110904/c849a80c/attachment.html 


More information about the rules-users mailing list