I'm sorry. I've checked it again and again but I've not seen that I
mixed something up. The condition can't be activated because there are
no events in the working memory.
Sorry.
> Hi,
>
> I'm trying to check the following condition:
>
> when
> $currentLowLimit : LimitViolationEven
Hi,
I'm trying to check the following condition:
when
$currentLowLimit : LimitViolationEvent ( limitTypes.size == 1
&& limitTypes contains LimitTypes.ACTIVE_LOWER_LIMIT
&& parameterNames.size == 1 )
limitType and parameterNames are both Sets. I know events exists which
satisfy the c
ary 2011 15:45, Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>> wrote:
Hi,
I'm trying to find a easy way to express that two events A and B
have to
happen during the same time interval. The events have each a
duration >
0.
A example condition could
Hi,
I'm trying to find a easy way to express that two events A and B have to
happen during the same time interval. The events have each a duration >
0.
A example condition could be: The event A and B have to happen during the
same 60 seconds.
For me it includes several possibilites:
* A can sta
List not contains $value
but internally I suppose that it will work in the same way that
the eval.
On Mon, Nov 1, 2010 at 11:55 AM, Tina Vießmann
mailto:tviessm...@stud.hs-bremen.de>> wrote:
Is it possible to write the following conditions without using
eval
with
$valueList not contains $value
but internally I suppose that it will work in the same way that the eval.
On Mon, Nov 1, 2010 at 11:55 AM, Tina Vießmann
mailto:tviessm...@stud.hs-bremen.de>>
wrote:
Is it possible to write the following conditions without using eval?
Sorry for the broke subject. :(
> Is it possible to write the following conditions without using eval?
>
>
> $object : MyObject ( $valueList : valueList ) // of type List
> $ value : Value ( // other restrictions
> && eval( !($valueList.contains($value)) ) )
>
>
> Thank you :
Is it possible to write the following conditions without using eval?
$object : MyObject ( $valueList : valueList ) // of type List
$ value : Value ( // other restrictions
&& eval( !($valueList.contains($value)) ) )
Thank you :)
Tina
___
Event contains a reference to
kagent's kbuilder. You can use it to see what happened.
}
});
Best,
Esteban Aliverti
- Developer @ http://www.plugtree.com <http://www.plugtree.com>
- Blog @ http://ilesteban.wordpress.com
On Sun, Oct 24, 2010
have time to take a look at it :(
Could you please provide me a simple test project where I can see this
issue?
Best,
Esteban Aliverti
- Developer @ http://www.plugtree.com <http://www.plugtree.com>
- Blog @ http://ilesteban.wordpress.com
t, why is the condition "address ==
$address" still missing in the related figure? Or do I not see something?
> see book errata at
> https://www.packtpub.com/support?nid=4009
>
>
> From: rules-users-boun...@lists.jboss.org
fault) group is
automatic, after
all group rules have been "exhausted". I think this is what you
mean with your #2
Solution 1 could be used, too; efficiency's not a problem.
-W
-W
On 28 October 2010 02:08, Tina Vießmann
mailto:tviessm...@stud.hs-
Hi,
I'm thinking about how to activate/deactivate parts of the rule set
during runtime. I'm doing some brainstorming about that and would be
happy, if I could get more experienced input. ;-)
What I want to do:
I have several rules where I process 4 different objects separate and
some rules pro
Hi,
I'm working through the explanations about Rete Trees in chapter 12 of
"Drools JBoss Rules 5.0 Developers Guide" on page 264-265. I have a
problem in understanding the input of the NotNode.
The rule says:
when
$address : Address ( addressLine == "Rossa Avenue" )
not (
.. ) over window:last( 150 ),
> count( 1 ) )
>
> So the above pattern triggers if you have less than 20 events in
> the last 150...
>
> Edson
>
> 2010/10/22 Tina Vießmann:
>> Hi,
>>
>> I'm working on a use case where I want to know if 20 even
> You can call fireAllRules after every event changing the state of the facts
> or of the ruleflow.
So it's not recommended to insert more than one event and then calling
fireAllRules()?!
> When you do event stream processing and use the time
> inside your rules, the time is a change event too.
What's the best way for checking for errors when using the following
code for creating a kbase?
// ResourceChangeScanner
ResourceChangeScannerConfiguration sconf =
ResourceFactory.getResourceChangeScannerService().newResourceChangeScannerConfiguration();
sconf.setProp
is is a bug.
Best,
Esteban Aliverti
- Developer @ http://www.plugtree.com <http://www.plugtree.com>
- Blog @ http://ilesteban.wordpress.com
2010/8/24 Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>>
Thank you for the explanation, Esteban.
thout time.. but each time that you have an EventA
and not an EventB the will be activated
2010/10/22 Tina Vießmann <mailto: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 s
Thank you, Jürgen.
> fireUntilHalt uses one processor with 100%. You have a dualcore, so it's
> 50%. It's by design like this.
Where can I find more techincal/performance specification about drools?
> You can:
> - Call fireAllRules after every insert if you have no ruleflow.
>
> - Use fireAllRul
Hi,
I'm experimenting with asimple Fusion application. I'm using
fireUntilHalt() to start the engine.
When I start my application it uses nearly 50% of my CPU without any
facts being insert. This remains while my application is idle. Why is that??
My machine has a 2Duo T9300 with 2,5GHz an JDK6
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
mailto: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 value are contained
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
10/19 Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>>
Hi again,
maybe I should specify what exactly I want to do.
I'm developing a project in a team. We're using the eclipse IDE.
I would like to configure maven the way that it builds the eclipse
proje
Hi again,
maybe I should specify what exactly I want to do.
I'm developing a project in a team. We're using the eclipse IDE.
I would like to configure maven the way that it builds the eclipse
project, downloads the drools library and adds the drools library to the
projects build path.
I kno
Hi,
I would like to install drools for one of my projects using maven. (I've
already ask the maven mailinglist. They said I shall ask here, because
it's Drools related.)
I've set up the repository and the drools reference in my projects POM file.
Jboss Drools Nexus Repository
https
x27;t change it.
Thanks anyway :)
> For a pair of events, the performance will be the same with
> before/after. If you have more than 2, though, best would be to use
> sliding windows.
>
> Edson
>
> 2010/9/14 Tina Vießmann:
>> Hi,
>>
>> I've mentio
Hi,
I've mentioned the test case I'm working on before. It's: If a certain
value exceeds a limit more than X times within Y minutes/hours, do
something.
~> Count = X , time = Y
During a talk with other developers it came up that by intuition the men
would have chosen a other approach th
That's even more than a single sentence. Thank you! :)
Am 08.09.2010 14:45, schrieb Mark Proctor:
On 08/09/2010 13:27, Tina Vießmann wrote:
In this case I would like to ask a non-Drools-question to
Camel-experienced developers: Would it be useful in case of a very
simple using of J
ybe a sentence should state the recommendation considering the
pipeline chapter in Drools Expert User Guide 5.0!?
Thanks :)
CJ
Am 08.09.2010 13:39, schrieb Mark Proctor:
On 08/09/2010 12:21, Tina Vießmann wrote:
I've looked at the Drools Expert User Guide for version 5.0. There
it
I've looked at the Drools Expert User Guide for version 5.0. There
it's chapter 3.3.8.5
On 7 September 2010 01:14, Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>> wrote:
Hi,
I'm using JMS (especially Apache ActiveMQ) in my application. Righ
Hi,
I'm using JMS (especially Apache ActiveMQ) in my application. Right
now, I'm manually establishing the JMS connection, extracting my Java
objects from the JMS messages and inserting the objects into the
knowledge base. It's simple without any hype.
Until now, I've always missed the chapt
e.
Of course, a TopicPublisher could also be (field of) some fact,
but this shouldn't be necessary for such a central service.
-W
On 29 August 2010 19:16, Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>> wrote:
Hi,
I've got a simple question.
How can I get
Hi,
I've got a simple question.
How can I get generated facts out of the memory (for publishing them
using JMS)?
Thanks :)
Tina
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
X
Esteban Aliverti
- Developer @ http://www.plugtree.com <http://www.plugtree.com>
- Blog @ http://ilesteban.wordpress.com
2010/8/23 Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>>
Hi,
I'm getting a two red highlighted outputs in eclipse
is
help in memory until explicitly retracted.
Edson
2010/8/23 Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>>
Hi,
I'm thinking about something. Maybe anyone can tell me.
The Stream Processing Mode of Drools Fusion provides automatic
lifecycle
managment.
Hi,
I'm getting a two red highlighted outputs in eclipse if I modify my
rules file during run time. Besides that the modifications seem to work.
What does it mean?
The full output I get when the resource change is detected is listed
below. The bold lines are the concerned ones.
Thanks for
Hi,
I want to create a KnowledgeBase using stream processing mode, getting
its resources from an change-set xml and getting the updated when
resources are changed. So far I'm aware I need a KnowledgeAgent and a
configuration for the kagent and the kbase.
My code is:
// create knowledge b
Hi,
I'm thinking about something. Maybe anyone can tell me.
The Stream Processing Mode of Drools Fusion provides automatic lifecycle
managment. For my understandings this is based on the sliding windows
used inside the rule conditions, the @expires metadata and the @delay
metadata. Am I righ
Hi,
I've set up a knowledge agent the change set configuration. While
running the application I'm changing the rules file and the agent
detects the change and rebuidls the knowledge base. But after that the
output that should have changed didn't change.
Thank you! :)
Greetings
Tina
Here
properly
before you can call any methods, e.g.
Set set = new HashSet()
watcher.setValueSet( set );
set.add(...)
-W
2010/8/13 Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>>
Hi Edson,
I can't provide a test case. But I've figured out what the
exception are
urn watcher;
}
Thanks for your help! :)
Tina
Am 13.08.2010 01:14, schrieb Edson Tirelli:
Hi Tina,
Can you provide a test case?
Edson
2010/8/12 Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>>
Hi again ...
I would like to insert a new generated objec
ce)
at java.lang.Thread.run(Unknown Source)
Am 12.08.2010 22:00, schrieb Mauricio Salatino:
can you explain what isn't working? can you share the error with us??
where are you doing the insert?in the RHS?
On Thu, Aug 12, 2010 at 4:56 PM, Tina Vießmann
mailto:tviessm...@stud.hs-bremen.de>>
Hi again ...
I would like to insert a new generated object into the knowledge base.
It seems that
insert (new Watcher())
is working. But
Watcher watcher = new Watcher();
insert (watcher);
isn't working?
Why?
Thank you for any explanations. :)
Tina
gt;>
I'm not sure whether you and Salboy are on the same
wavelength. Tina, please do provide more
details where and what you want to for-each-loop. Guessing is
a waste of time...
-W
2010/8/12 Tina Vießmann mailto:tviessm...@stud.hs-bremen.de&
wavelength. Tina, please do provide more
details where and what you want to for-each-loop. Guessing is
a waste of time...
-W
2010/8/12 Tina Vießmann mailto:tviessm...@stud.hs-bremen.de>>
Oh, do I need a loop xml definition? Good to know. -.-
that the
variable that it's using is a list?
On Thu, Aug 12, 2010 at 1:08 PM, Tina Vießmann
mailto:tviessm...@stud.hs-bremen.de>>
wrote:
Hi,
is it possible to use the for each loop in Drools?
The engine grouses a type mismatch : cannot convert from element type
Hi,
is it possible to use the for each loop in Drools?
The engine grouses a type mismatch : cannot convert from element type
Object to Value
Thanks :)
Tina
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinf
Sorry, it seems that the exception concerned a typo somewhere else in my
code.
Am 12.08.2010 15:44, schrieb Tina Vießmann:
Thank you, Edson. :)
Will collection without generic marker work?
For excample:
valueSet : Set
Because if it should work, it doesn't do for me. I'm
ou :)
Tina
Am 12.08.2010 14:56, schrieb Edson Tirelli:
No generics. Sorry.
Edson
2010/8/12 Tina Vießmann <mailto:tviessm...@stud.hs-bremen.de>>
Hi,
I'm receiving a exception when trying to run my application:
[ERR 103] Line 44:24 rule
Hi,
is it possible to manipulate the session clock so that it's using the
actual time but e.g. the 05-Feb-2007 07h08min09s ?
Thank you! :)
Tina
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-use
Hi,
I'm receiving a exception when trying to run my application:
[ERR 103] Line 44:24 rule 'end_key' failed predicate:
{(validateIdentifierKey(DroolsSoftKeywords.END))}? in Watcher[55,0]:
[ERR 101] Line 55:0 no viable alternative at input 'global' in rule end
The relevant code is:
decla
Hi,
is it possible to define a function/constructor inside a fact type
declaration? If yes, how can it be done?
Thank you :)
Tina
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hi,
I think I'm to stupid to google, but I can't find an explanation what
'@key' means.
Can anyone please explain it to me or just give me a link?
Sorry for the simple and stupid request and thank you for your help!
Greetings
Tina
___
rules-users mail
: get rid of all in $watcher.set, and $watcher
end
(What and count are somewhat redundant, but this avoids clumsy patterns.)
Watcher should be declared as Event, with @expires, so they'll
disappear with the (primary) Event each one is watching.
Cheers
-W
2010/8/5 Tina Vießmann <mailto:tviess
Hi,
I'm working on thinking in Drools rules. Right now I'm trying to solve this:
The rule shall fire if _a special event occurs more than 3 times
within 1 hour_.
My _first thought of a solution_ was to count the count the detected
events using a counter. But the counter has to be a global v
Hi,
I'm restarting getting to know Drools (Fusion). Now I'm thinking about
the stream processing mode.
The documentation says the events must be time-ordered - they must be
insert into the stream in the order in which they are occur so. Am I
correct that it has to be that way, because the time
Hi :)
In Complex Event Processing events (say A and B) correlating another
event (say C) are causal related to the correlated event. Does DF
internally remember these relation or does the developer has to define a
corresponding relational attribute itself?
Thanks :)
Tina
_
Hi,
I'm trying to get the Drools Fusion from the download page example to
run. But I'm getting the following error messages and I don't know why.
File: broker.drl
line 31
BuildError: Unable to build expression for 'consequence': Failed to
compile: 1 compilation error(s): - (1,10) unqua
based on
> the current time, but otherwise anchored on each EventA that is received
> by
> the engine.
>
>Hope it helps,
>
>Edson
>
> 2010/5/7 Tina Vießmann
>
>> Hello everybody :)
>>
>> I'm completely new to the Drools universe. I've
Hello everybody :)
I'm completely new to the Drools universe. I've discovered Drools, or more
specifically Drools Fusion, by looking for a powerful CEP engine.
I've read the DF user guide and came up with some issues about DF features.
It would be great, if anyone can give me some explanations and
Hello everybody :)
I'm completely new to the Drools universe. I discovered Drools, or more
specifically Drools Fusion, by searching for a powerful CEP engine.
I've read the DF user guide and came up with some issues about DF
features. It would be great, if anyone can give me some explanations
and/
62 matches
Mail list logo