Fact in Guvnor
by S.M.H.Jamali
Hello All
After upload a jar file which contains some java bean (Fact) to Guvnor , gwt-console don't detect my process definitions ! I have facts , processes and rules all in Guvnor and i build the defaultPackage successfully but gwt-console process list don't show my newly added process !
Is it a gwt-console bug ? or is it my error ? can you help me ?
Thanks in advance
S.M.H.Jamali
14 years, 5 months
Drools-Fusion : Inserting an Event in to an "entry-point" stream in the RHS of a rule?? Pls help
by Chetan Mahadev
Hi
Can we insert an Event in the RHS part of a rule to an entry-point?
basically i am trying to do this. Pls let me know if this is possible? if
not any alternative approaches? Any example would be useful pls
declare TransactionEvent
@role( event )
end
$tmp : TestClass()
$tmp.message == "TRUE"
then
TransactionEvent ev1 = new TransactionEvent (); // This should be
inserted in to an entry-pont "Temporal Reasoning" stream
ev1.setMessage("Temporal Reasoning")
insert (ev1) to entry-point "Temporal Reasoning"
end
rule "Temporal Reasoning"
$tmp : TransactionEvent ( message== "Temporal Reasoning") from entry-point
"Temporal Reasoning"
then
System.out.println("Rule fired due to entry point ");
end
Regds
Chetan
14 years, 5 months
Java 1.4 Application
by Sumeet Karawal
Hi All,
I have to use Drools in a Java Application with Java version 1.4
Can I use Drools 5.0 for that or do I have to use Drools 4.0.x version?
Please help me on this.
Thanks & Regards
Sumeet Karawal
Mailto: sumeet.karawal(a)tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
14 years, 5 months
False error indication
by Hezi Stern
I am using Drools 5.2.0 and I encountered the following problem perhaps
there is a solution or workaround.
I added a new operator called supersetOf which works fine.
When I add a rule of the sort:
when
$myClass: MyClass(X supersetOf $z)
then
.
End
It works fine and no errors are displayed in the IDE (eclipse).
But when I use nested fields e.g:
when
$myClass: MyClass(X.Y supersetOf $z)
then
.
End
It works fine but I get an error indication by the eclipse marking the drl
as a compilation error but looking inside the drl shows no error.
Is there any way to resolve this or even workaround by suppressing the error
indication?
It is quite annoying as my project is filled with false error indication
which kind if make it difficult to work.
Thanks
Hezi
14 years, 5 months
running multiple instance of rule engine
by Neelesh Deo Dani
Hi,
I need a setup where multiple instance of drools rule engine will be running in different physical hosts. In each host, a web server (API) will be running which will receive an input event, process it and insert into rule engine (session) for rules execution on the same host. I'm using external persistent datastore. The objects will be populated from datastore before inserting into the session. After rule execution if there is any change in the state of the objects the same will be stored back to the datastore. The datastore calls are made outside the rule execution.
In this scenario, if an event comes to one host and another event comes to a different host, how will the temporal reasoning or correlation of events work? What is the recommended way of deploying multiple instance of rule engine for scalability?
Please help in this
regard.
Thanks & Regards,
Neel
14 years, 5 months