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...
I'd not use that, stick with the CommandFactory and send a batch of
commands, and just use the CommandExecutor stage in the pipeline for this.
All of the pipeline stuff will go, with a Camel pushed as the default
way to execute commands.
Mark
*From:* rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] *On Behalf Of *Mark Proctor
*Sent:* 03 June 2010 07:28
*To:* rules-users(a)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(a)lists.jboss.org
<mailto: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(a)nds.com
<mailto: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(a)lists.jboss.org
<mailto:rules-users-bounces@lists.jboss.org>
[mailto: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(a)nds.com <mailto: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(a)nds.com <mailto: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(a)lists.jboss.org <mailto: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(a)nds.com <mailto: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(a)lists.jboss.org <mailto: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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users