Would I claim such a thing without having run some tests?
Here goes. Rule:
rule Rule 123
timer (cron: 0/5 * * * * ?)
when
then
Action.exec( Rule 123 ); # prints message, dumps stack 3rd time round.
end
Running the session:
kSession =
Wait about release 6.0.0.Beta4
On Tue, Jun 18, 2013 at 12:39 AM, Florian.Pirchner
florian.pirch...@gmail.com wrote:
hi,
i got a question about osgi support.
is beta 3 already useable in osgi environments? could see that activators
are registering v5 api as services.
is it possible to
Thanks...
Am 20.06.13 11:20, schrieb Charles Moulliard:
Wait about release 6.0.0.Beta4
On Tue, Jun 18, 2013 at 12:39 AM, Florian.Pirchner
florian.pirch...@gmail.com mailto:florian.pirch...@gmail.com wrote:
hi,
i got a question about osgi support.
is beta 3 already useable in
Hi,
i know that guvnor can be attached to drools core by KnowledgeAgent.
Is there a way to attach a git repository too? Could see in standalone
jbpm designer that rules and bpms have been loaded by git.
Thanks, Florian
___
rules-users mailing list
A rule controlled by a timer becomes active when it matches, and
once for each individual match. Its consequence is executed
repeatedly, according to the timer's settings. This stops as soon
as the condition doesn't match any more.
Consequences are executed even after control
kie-wb https://github.com/droolsjbpm/kie-wb-distributions 6.0 already
uses git as the backend repository for design-time artifacts (projects,
rules, processes etc).
There are no plans to retro-fit it to 5.5.x or older.
On 20 June 2013 11:48, Florian Pirchner florian.pirch...@gmail.com wrote:
We'll update the documentation, that was probably the behaviour in an older
version. The behaviour should not have rules async firing, unless there is
proper async controls, as with fireUntilHalt, otherwise the firings must be
constrained within fireAllRules.
Mark
On 20 Jun 2013, at 12:04,
Hi,
Well, besides the fact that the services that we used on version 5.x is
still there, I'm not that optimist with Drools 6 running well in an OSGi
container... at least not currently...
Last week I played a bit too with Jbosgi and Wildfly and got a lot of
classloading errors due some
Hi,
i also saw all the Class.forName. Class.forName additionally uses a very
aggressive class caching policy.
See here:
http://blog.osgi.org/2011/05/what-you-should-know-about-class.html
http://blog.bjhargrave.com/2007/09/classforname-caches-defined-class-in.html
I do not understand why API
If I have a rule such as:
When
Person()
Person()
Then
System.out.println(There are two people!)
End
I only want this to fire if there are two (or more) Person objects inserted
into the session, however as default drools will fire even when there is
just one Person object inserted (i.e.
Hi,
I think you are talking about the assert behavior:
KnowledgeBaseConfiguration configuration =
KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
configuration.setOption(AssertBehaviorOption.EQUALITY);
But I think you will have to add a condition like... :
p1 : Person()
Person(this !=
I've just found an old forum post of my own that solves this problem..
http://drools.46999.n3.nabble.com/RemoveIdentities-with-KnowledgeAgent-td4022444.html#a4022452
(I knew I'd come up against this before!)
If I do (before creating the session):
System.setProperty(drools.removeIdentities,
Good idea, but that will make it fire twice if you insert 2 Persons A and B:
once for A-B and once for B-A.
I often use this instead:
Person ($id : id)
Person (id $id)
On 20-06-13 16:13, Bruno FREUDENSPRUNG wrote:
Hi,
I think you are talking about the assert behavior:
Hi,
I moved from 5.5.0 to 6.0.0.Beta two weeks ago to test OSGi integration,
since I came across in 5.5.0 some split-package issues.
Like you say, in this last version classloading issues appear, although
thankfully no more split-packages between bundles are present (afaik)
To get rid of the
Hi,
indeed, dynamicimport:* is a really rough solution ;-) But for
evaluation issues it seems to be perfect at the current state.
Hope this will not become the final way how to add osgi support to
drools. I would be afraid about the side effects.
Best, Florian
Am 20.06.13 16:26, schrieb
There are bugs with loadClass and serialisation :(
http://lists.jboss.org/pipermail/rules-dev/2011-November/003681.html
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6500212
Thus, we highly recommend replacement of this code:
myClassLoader.loadClass(className);
With this code:
You sound absolutely sibyllic. Which documentation will you update - I'm
not aware of any documentation describing the behaviour of timers. What, in
your opinion, was the behaviour in an older version? And what older
version are you referring to anyway? I've ascertained that what I
described is
Hello,
The property change listener advise from the expert doc isn't working for
me.
http://docs.jboss.org/drools/release/5.5.0.Final/drools-expert-docs/html/ch04.html#d0e5351
(4.8.3.5)
- I've tried setting the configuration
KnowledgeBuilderConfiguration config =
Hi
I have a requirement where we have xsds as our object model. We use jaxb
to get java object model and create a jar. That jar we upload in guvnor. Now
We have a major change in xsd. where some of previous elements are renamed
and some of previous elements are removed and some new element are
You are not saying what is not working. If you don't use any of the features
described in 4.8.3.5., Fine grained property change listeners, your rules
should fire, as usual. Is that so? Then, what doesn't fire any more when
you add which feature?
The subject of your post ...listeners aren't
2 things aren't working as expected:
1.) Slot Selection - Rules listening for different properties on the object
are being fired
ie:) Object obj has 3 properties a, b, and c. Rule 1 modifies obj.a triggers
Rule 2 which is listening for obj.b (different property on the same object)
Can you please
On 20/06/2013, abasile alex.bas...@interactivedata.com wrote:
2 things aren't working as expected:
1.) Slot Selection - Rules listening for different properties on the object
are being fired
ie:) Object obj has 3 properties a, b, and c. Rule 1 modifies obj.a
triggers
Rule 2 which is
On 20/06/2013, abasile alex.bas...@interactivedata.com wrote:
2.) Refraction - rules are looping
Rule that listens for a property on an object also changes that property is
being fired indefinitely
ie:) Rule 1 - when obj.a Then modify (obj.a)
My understanding is that the rule shouldn't fire
OK, and now? You can wrap it into a couple of docbook tags and add it to
the Expert manual, I'm not reserving the copyright ;-)
-W
On 20 June 2013 21:29, Mark Proctor mproc...@codehaus.org wrote:
I assumed you were quoting from some documentation.
Mark
On 20 Jun 2013, at 17:08, Wolfgang
Thanks for your responses. Works for me now, with below modifications.
I was expecting the agent to pick up the latest drl file using path in
changeset.
*Before - Didn't work*
...(initialized kagent using changeset...no timer rules)
kbase = kagent.getKnowledgeBase();
It is possible to perform a routing taking into account periods of time as
the attached image??
http://drools.46999.n3.nabble.com/file/n4024446/Planner.gif
--
View this message in context:
http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446.html
Sent from the Drools: User
26 matches
Mail list logo