Looking at the rule I see that you don't really need $activeAlarms :
ArrayList() except for computing $alarms : ArrayList().

Try doing this by a single collect, putting all constraints into the
Alarm() pattern.

-W


On 27 September 2011 15:55, HariKishan
<harikishan.tamm...@pass-consulting.com> wrote:
>
> Hi Thomas,
>
> Those Drools library is part of the Mule ESB 3.2.0
> I think it would be very risky to change the libraries.
> As there might be some version dependencies (Compatibility issues).
>
> If you have any other idea of how to fix it ????
>
> In the mean while I will checking by replacing the drools library and check
> it.
>
> Thanks & Regards,
> Hari Kishan T
>
>
> -----Original Message-----
> From: rules-users-boun...@lists.jboss.org
> [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Swindells, Thomas
> Sent: Tuesday, September 27, 2011 6:40 PM
> To: Rules Users List
> Subject: Re: [rules-users] Getting Exception while running rules
> continuously on the Event Streams from Mule Component.
>
> It may be worth you trying a later version of drools to see whether the
> issue still exists - there have been quite a few bug fixes since then!
>
> In theory it shouldn't be too much work to change - check the release notes
> for maven group/project id changes, but there are some subtle differences in
> some of the rule syntax validation in places which may or may not make it
> painful.
>
> Thomas
>
> > -----Original Message-----
> > From: rules-users-boun...@lists.jboss.org [mailto:rules-users-
> > boun...@lists.jboss.org] On Behalf Of Hari Kishan
> > Sent: 27 September 2011 13:33
> > To: rules-users@lists.jboss.org
> > Subject: Re: [rules-users] Getting Exception while running rules
> continuously
> > on the Event Streams from Mule Component.
> >
> > *Drools Version : 5.0.1 *
> >
> > *The Drools API used in Mule *:
> >
> > drools-api-5.0.1.jar
> > drools-compiler-5.0.1.jar
> > drools-core-5.0.1.jar
> >
> > --
> > View this message in context: http://drools.46999.n3.nabble.com/Getting-
> > Exception-while-running-rules-continuously-on-the-Event-Streams-from-
> > Mule-Component-tp3372189p3372442.html
> > Sent from the Drools: User forum mailing list archive at Nabble.com.
> > _______________________________________________
> > rules-users mailing list
> > rules-users@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> ****************************************************************************
> **********
> This message is confidential and intended only for the addressee. If you
> have received this message in error, please immediately notify the
> postmas...@nds.com and delete it from your system as well as any copies. The
> content of e-mails as well as traffic data may be monitored by NDS for
> employment and security purposes. To protect the environment please do not
> print this e-mail unless necessary.
>
> NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18
> 4EX, United Kingdom. A company registered in England and Wales. Registered
> no. 3080780. VAT no. GB 603 8808 40-00
> ****************************************************************************
> **********
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to