I tried looking for one but couldn’t see one in the PipelineFactory that can be used when I’ve received an object from the jms queue.  I’m hoping that I’m just being blind or something...

 

From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Mark Proctor
Sent: 03 June 2010 07:28
To: rules-users@lists.jboss.org
Subject: Re: [rules-users] Using pipelines

 

On 02/06/2010 11:15, Swindells, Thomas wrote:

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.

Did you add the FireAllRulesCommand?

Mark

 

Thomas

 

From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@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@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@lists.jboss.org [mailto:rules-users-bounces@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@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@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

 

 



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

 




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