Thanks for the reply.
Can you please elaborate on it?
Well we are facing issues keeping same session and entry point alive through
out the application.
As each event will be received as a new thread in my application so when I'm
calling the class which inserts into session and fire-all rules
This is more a Java question than a Drools specific problem.
You have several producers, running in threads, parallel or (more or less)
one
after the other. You have one consumer, the thread running the single
session.
Consuming consists of accepting the fact and inserting it into the session;
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Error-Inserting-events-into-drools-fusion-stream-tp1746213p1750917.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
Thank you for your reply.
I think I was heading into the wrong direction. Now when I've synchronized
the function which is creating session, session is static and is only called
once, and firing the rules it's working fine. I'm planning to use JMS
wherein consumer will be syncronized. Is this
Thank you for your reply.
I think I was heading into the wrong direction. Now when I've synchronized
the function which is creating session, session is static and is only called
once, and firing the rules it's working fine. I'm planning to use JMS
wherein consumer will be syncronized. Is this
Hi,
I'm investigating Drools Guvnor for use as both entitlements and
business rules where entitlements means I
am checking access to certain web pages (or partial page resources)
based on a pre-defined a resource (given a role for example) that I
would send in when executing the rule.
Is it
Thanks a lot Wolfgang for your prompt reply. I'm able to move forward now
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Error-Inserting-events-into-drools-fusion-stream-tp1746213p1751531.html
Sent from the Drools - User mailing list archive at Nabble.com.
thanks for the response Michael. I looked into your solution and this is not
working for me.
I get a discouraged Access and when i try to remove that from
windows-preferences eclipse is unable to find entire org.drools package.
if i keep settings when i get discouraged access,
Michael Anstis wrote:
If you use a StatelessKnowledgeSession you won't need to remove the old
facts.
If however you want to use a StatefulKnowledgeSession for other reasons
the
insert method returns a FactHandle that can be later used to retrieve the
fact: ksession.retract(factHandle).
Hello Michael,
I included the code for authentication but occurs a new exception. I think
that is by configuration of Guvnor.
I attached the exception and the log of guvnor. I hope you can help me.
Thanks and regards,
2010/10/21 Michael Anstis michael.ans...@gmail.com
Hi,
#2
You could
Sure, check out KnowledgeBase's removeRule(String, String) method.
Modifications to you KnowledgeBase are going to be more expensive than with
Sessions, so ask yourself whether manipulating KnowledgeBase's at runtime is
something you really want to be doing when you (probably) will be able to
get
When I said at runtime I meant during the normal course of your
application's operation - obviously KnowledgeBase's need to be set up in
some shape or form at runtime (initialisation)!! :-)
On 22 October 2010 19:22, Michael Anstis michael.ans...@gmail.com wrote:
Sure, check out KnowledgeBase's
I downloaded the attachment on
http://article.gmane.org/gmane.comp.java.drools.user/22375 and pasted the
source into a new Drools project.
Worked a treat.
On 22 October 2010 10:52, ravibhatt r...@qubitdigital.com wrote:
thanks for the response Michael. I looked into your solution and this is
Hi,
I'm working on a use case where I want to know if 20 events with a
specific value are contained in at maximum the last 150 events. So far I
know what have to do. ;-)
My problem is that as extension to my condition, the rule shall also
trigger if one ore more events are missing. But I don't
Sounds that you can use the Not Conditional Element for that right?
something like
$a: EventA()
not EventB(this after[1d] $a)
On Fri, Oct 22, 2010 at 5:49 PM, Tina Vießmann tviessm...@stud.hs-bremen.de
wrote:
Hi,
I'm working on a use case where I want to know if 20 events with a
specific
Yeah, normally I would solve it that way. But you're using a time (1d)
which I unfortunately don't know off in my scenario.
I'm afraid that there will be no other solution than that I have to use
a time...
Thanks anyway :)
Sounds that you can use the Not Conditional Element for that
You can use it without time.. but each time that you have an EventA and not
an EventB the will be activated
2010/10/22 Tina Vießmann tviessm...@stud.hs-bremen.de
Yeah, normally I would solve it that way. But you're using a time (1d)
which I unfortunately don't know off in my scenario.
I'm
17 matches
Mail list logo