Sliding time windows and interval-based events
by OlliSee
Hi there,
I can't seem to find a hint in the documentary about WHEN an event is
considered to be recognized by a sliding time window.
I tried it out myself with an event with a duration of 5000 (= 5s) and a
rule with a sliding time window of just 1s. So the event can never be
completely situated in the window, only the end or start time can be. As it
turns out, the rule fires once as soon as the event is inserted.
Personally, I don't like this behaviour. But why isn't this documented
somehow?
Kind regards
Oliver
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Sliding-time-windows-...
Sent from the Drools - User mailing list archive at Nabble.com.
15 years, 4 months
Expose JBoss rules as webservice
by Vkishore_Kumar
Hello,
I am developing a java based stand alone logger framework to plug in to my integration applications. After logging the messages, the framework need to forward the message to a notification service (a Java based SOAP/HTTP web service) . The business logic of this notification service now needs to be implemented using JBoss Business Rules Management System. Since my integration applications run on WebSphere server, I would be using the WebSphere SOAP engine for logger framework to invoke the notification web service. I am new to the JBoss suite of integration products. Could you please help me with the below
1. To build some rules, say if-else or decision tables, is JBoss BRMS alone sufficient?
2. Once the business rules are developed, is there a way to expose these rules as a SOAP/HTTP web service?
3. What are the set of products needed to develop and deploy this rule service as a SOAP/HTTP web service? I assume it is JBoss BRMS and JBoss Enterprise SOA Platform.
[cid:image001.png@01CBCDF2.1C66A5E0]
Any help/guidance on the above queries are greatly appreciated.
Thanks & Regards
Kishore
________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
15 years, 4 months
how to stop rule execution
by Sathya Prakash
Hi,
How to stop rule execution in technical rule,
Example
rule "Error Check"
salience 100
when
error condition check
then
System.Out.Println("Response has errors");
XXXXXXXXXXXXXXXXXXXXXXXX to exit from rule execution
end
rule "Rule-01"
salience 99
when
repsonse.getxx()
then
end.
if first rule then part executed means the response is error hence we should
not execute second.
Is there any way to exit rule execution.
Regards,
Sathya Prakash.
15 years, 4 months
Drools - behaviour
by Bala
Hi,
I am using drools - 5.0.1. In my application, knowledge session is created
each time for each user request. After server startup when the user request
for the first time, it's taking too much time to respond. But on subsequent
request, the response time is good.
Whether it could be beacause of drools classes dynamically loaded when user
request it for the first time??
Seriously i am clueless in this regard... can anyone help?????
Thanks in advance...
-Bala
-----
Thanks,
Bala
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-behaviour-tp25...
Sent from the Drools - User mailing list archive at Nabble.com.
15 years, 4 months
why inject the kagent: drools-spring api
by mmjose26
Hi!
I'm new using spring-drools api, and I have some doubts about api
implementation:
I review the source code of KnowledgeAgentDefinitionParser, I don't
understand why we need to inject the kagent into any stateless sessions.
and this code:
// inject the kagent into any stateless sessions (why?)
for ( String beanName : parserContext.getRegistry().getBeanDefinitionNames()
) {...}
only iterates over the spring beans that has been loaded (at run time) in
the memory but not over all beans defined,
so it isn't the desired effect.
it happens too whith KnowledgeSessionDefinitionParser:
// find any kagent's for the current kbase and assign (why?)
for ( String beanName :
parserContext.getRegistry().getBeanDefinitionNames() ) {
and may ocurr the exception with stateful sessions: Error setting property
values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'knowledgeAgent'
this not happens in test cases because the order of drools-spring beans
definitions
Tanks for your help!
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/why-inject-the-kagent...
Sent from the Drools - User mailing list archive at Nabble.com.
15 years, 4 months
Re: [rules-users] Drools 5.1: What happens when an incremental KA rebuild fails?
by Esteban Aliverti
I will check this problem. I'll need to create a test scenario first.
Which version of drools are you using? Does the error still occurrs if you
point to the drl instead of the directory?
Best regards!
El ene 14, 2011 5:14 p.m., "ljnelson" <ljnelson(a)gmail.com> escribió:
Seeing some strange things on a production system.
I have Drools set up to use a KnowledgeAgent.
I have the KnowledgeAgent set up to scan resources and directories.
The agent is pointed at--let's say--C:\LEAD\rules, where "LEAD" is the name
of the project in question and "rules" is a directory underneath which I
would like to have several .drl files.
I begin by placing one well-known, valid .drl file under there. That
obviously loads up fine and the rules go into effect.
If I deliberately introduce a syntax error, I hear about it in the
logs--that's fine too.
But if I then remove the syntax error, it's as though scanning stops. The
KnowledgeAgent appears as though it is never rebuilt again, so it appears
simply to be broken.
I will obviously supply more details as needed, but thought I'd fire this
quick flare to see if anyone knows of any simple cause here.
Best,
Laird
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-5-1-What-happe...
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
15 years, 4 months
Trigering flows from rules
by Luciano A. Andrade
Theres any way to triger a flow (process) from a Rule or shuld be
allway the flow that trigers the rules.
Maybe ¿Inserting a even fact?
15 years, 4 months
Drools Server and BPMN2
by rtmacphail
Hi,
Does the Drools Server (v. 5.1) support the new BMPN2 implementation of the
drools flow? If so, how do I configure my knowledge session in the
knowledge-services.xml?
I have tried:
<drools:resource type="BPMN2" source="classpath:reg-fee-calc.bpmn"/>
and
<drools:resource type="DRF" source="classpath:reg-fee-calc.bpmn"/>
But neither work.
Thanks in advance for any help.
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Server-and-BPM...
Sent from the Drools - User mailing list archive at Nabble.com.
15 years, 4 months