[rules-users] Using pipelines

Swindells, Thomas TSwindells at nds.com
Wed Jun 2 06:15:39 EDT 2010


I'm not trying to fire a particular rule, I'm trying to get the pattern matching inside the knowledge session to actually run, eg the equivalent of calling ksession.fireAllRules() but having the pipeline doing it at the correct time.

Thomas

From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of rudolf michael
Sent: 02 June 2010 10:39
To: Rules Users List
Subject: Re: [rules-users] Using pipelines

you can't explicitly fire a rule...it is not like calling a method. rules are fired when there is a pattern matches inside your KnowledgeSession.
2010/6/2 Swindells, Thomas <TSwindells at nds.com<mailto:TSwindells at nds.com>>
I've still not managed to work this out,
How do I actually get my rules to fire when using a pipeline?

Thanks,

Thomas

From: rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at lists.jboss.org> [mailto:rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at lists.jboss.org>] On Behalf Of Swindells, Thomas
Sent: 30 May 2010 18:47
To: Rules Users List
Subject: [rules-users] Using pipelines

I've been trying to learn how to use pipelines to execute some rules.

I've had a look at the JaxbSimpleJmsMessengerTest as that seemed a good place to start and copy the code from (using drools 5.0.1).
However running the test doesn't seem to actually run any of the rules - I've tried adding println's but they don't appear, nor do the globals appear to get populated.

What am I missing?

Thomas

________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com<mailto:postmaster at 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
**************************************************************************************

________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com<mailto:postmaster at 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 at lists.jboss.org<mailto:rules-users at 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 postmaster at 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
**************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100602/8c1bcd59/attachment.html 


More information about the rules-users mailing list