On 22/02/2012, Edson Tirelli wrote:
>If your use case somehow has "mutable" events, you can retract, change
> the duration and reinsert.
But mind the requirements of STREAM mode: Events in each stream must
be time-ordered. I.e., inside a given stream, events that happened
first must be insert
On 23/02/2012 03:38, Hezi Stern wrote:
Hi All,
I am seeking some kind of filtering (if statement) inside the LHS.
I have the following example rule (note: $attributeFilteredSentences
and $cmdescriptor are defined in the extends rule which is not presented):
*rule*" choose message sentence e
On 23/02/2012 03:29, erolagnab wrote:
> Hi all,
>
> I'm planning to upgrade to Drools 5.4.0.Beta2 from 5.0.1.
> However when testing the performance w.r.t rules loading, 5.4.0.Beta2 is not
> only much slower (50% slower) but also eats more memory compare to 5.0.1.
>
> Is it something expected from
I just updated the docs with a "Getting Involved" section, which covers
questions we are asked often. The chapter provides high level info on
how you sign up, submit issues, submit pull requests, best practice for
tests etc. Please provide feedback, or pull requests, for improvements
and this w
Hi All,
I am seeking some kind of filtering (if statement) inside the LHS.
I have the following example rule (note: $attributeFilteredSentences and
$cmdescriptor are defined in the extends rule which is not presented):
rule " choose message sentence example" extends " attributeFilteredSent
Hi all,
I'm planning to upgrade to Drools 5.4.0.Beta2 from 5.0.1.
However when testing the performance w.r.t rules loading, 5.4.0.Beta2 is not
only much slower (50% slower) but also eats more memory compare to 5.0.1.
Is it something expected from 5.4.0.Beta2 to compensate other
fixes/features?
If your use case somehow has "mutable" events, you can retract, change
the duration and reinsert. The engine uses optimizations for the temporal
reasoning that are based on the fact that events should be immutable. That
is why the engine "resolves" the timestamp/duration attributes at insert
tim
As far as I know tohu is abandoned, we were working in a new experimental
version but there is nothing finished yet.
My two cents
- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.ar
- Mauricio "Salaboy" Salatino -
On 22/02/2012, at 21
hi,
can you help me to install tohu and thanks sir?
--
View this message in context:
http://drools.46999.n3.nabble.com/jboss-tohu-tp3767998p3767998.html
Sent from the Drools: User forum mailing list archive at Nabble.com.___
rules-users mailing list
r
Hi Edson,
so, when i want modify an event, i could do as follow:
- clone event;
- change the duration
- retract the previuos event
- insert the new event
Is it right?
Bye bye,
Matteo.
2012/2/22 Edson Tirelli
>
>Unfortunately you can't update event durations or timestamp. Even
Unfortunately you can't update event durations or timestamp. Events are
supposed to represent things that happened and as so, are immutable (other
than data enrichment). If an event representation is no longer true, that
event has to be retracted. Most common case is when you are dealing with
at
Hi Wolfgang,
this is an extract of drl file:
declare GasObservation
@role(event)
@startTimestamp(timestamp)
@expires( 10s )
@duration(duration)
end
declare GasEvent
@startTimestamp(timestampDate)
@role(event)
@duration(duration)
end
rule "gas1-event"
no-loop
w
A minimum but complete set of *.java and *.drl files would help.
-W
2012/2/22 Matteo Cusmai
>
> Hi all,
> i am using Drools Fusion in multi sensor data fusion system. I have some
> rules that generate a new event when some situations occur. But from the
> other hand, i would like to update the e
HI,
i use drools tohu to create questionnaire for patients.
can you help me install it and give me some tutorial?
thanks a lot
--
View this message in context:
http://drools.46999.n3.nabble.com/DROOLS-Tohu-tp3767586p3767586.html
Sent from the Drools: User forum mailing list archive at Nabble.c
Hi all,
i am using Drools Fusion in multi sensor data fusion system. I have some
rules that generate a new event when some situations occur. But from the
other hand, i would like to update the event, when i understand that new
sensor observation is referring to the same event. I have my Event clazz
Are you sure that the binary package was also created with the same drools
version you are using in your tests?
Best Regards,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Wed, Feb 22, 2012 at 7:39 PM,
I have a 5.4.0-SNAPSHOT version with your changes built and made the
KnowledgeAgentConfiguration change you suggested. My test code is now like
this:
KnowledgeAgentConfiguration aconf =
KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
aconf.setProperty("drools.agent.useK
answered:
http://drools.46999.n3.nabble.com/Can-you-remove-logging-information-from-BatchExecutionCommand-td3377109.html
--
View this message in context:
http://drools.46999.n3.nabble.com/Bug-with-BatchExecutionHelper-when-using-Log4j-rootlogger-tp3293188p3767382.html
Sent from the Drools: User f
OK, so I found the file here:
http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.drools/drools-spring/5.1.0.M2/org/drools/container/spring/drools-service-spring.xsd
So, I guess my first question above can be change to, "Is this the most
recent version?" Questi
Hi, I am configuring a drools server via spring and I need to execute a
startup-command (as shown here
http://lucazamador.wordpress.com/2010/05/27/drools-server-spring-configuration/).
Seems straight forward until I started looking for .xsd files (specifically
for http://drools.org/schema/drools
Thanks – I will try it this morning.
Herm
From: Esteban [via Drools] [mailto:ml-node+s46999n3765911...@n3.nabble.com]
Sent: Wednesday, February 22, 2012 1:55 AM
To: Herman Post
Subject: Re: [rules-users] KnowledgeAgent custom class loader not working for
PKG resources
I forgot to mention that
Thanks Esteban.
I've tried a couple of workarounds, but it's still not working. :(
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Declared-model-and-drools-agent-newInstance-tp3763280p374.html
Sent from the Drools: User forum mailing list archive at Nabble.co
Hi Esteban,
According to the tomcat log, guvnor was trying to connect to derby which I
don't use, so it might have been caused by a preset condition in guvnor beta2
version? I scrapped my tomcat 6 and tried running it with Tomcat 7, this worked.
Thanks.
On 21/02/2012, at 6:30 PM, Esteban Alivert
I found the issue: I have to set all the globals before inserting any facts:
cmds.add(CommandFactory.newSetGlobal( "addressManager", addressManager,
true));
...
cmds.add(CommandFactory.newInsert(event));
--
View this message in context:
http://drools.46999.n3.nabble.com/MVEL-Expression-causin
I forgot to mention that you will have to change your code a little bit.
Instead of passing a KnowledgeBuilderConfiguration to the agent, you will
need to add a configuration option to the KnowledgeAgentConfiguration
object your are using:
aconf.setProperty("drools.agent.useKBaseClassLoaderForComp
Hi all,
when i deployed my EAR in the websphere application server it's deployed
successfully without any errors. But when i'm trying to run my project by
passing a request xml i'm getting some errors as shown below. I'm using
drools 5.1 and WAS 6.1.
java.lang.UnsupportedClassVersionError:
(com/i
Using forall isn't so complicated. You can use the simplified form, where
the
condition to be satisfied is written in the pattern selecting the domain.
rule setPriority
when
$order: OrderType( priority != "high" )
forall ( OrderLineType( quantity > 2 ) from $order.lineItem )
then
modi
27 matches
Mail list logo