Arjun Dhar | 1 Aug 2007 10:20
Picon
Favicon
Gravatar

Multiple independent Assertions

Hi,
 In "stateless" Session:

If List of A1,B1,C1 are executed - execute(List)
and at the same time in a paralell thread A2,B2,C2 are executed - execute(List)

In "Theory" (Conceptually), I want to confirm if A1 will interfere with the 
rule using A2? Just want to ensure what is appropriate or expecteed behavior.

...assuming both threads hit the same session for that "delta t" period of time.

thanks,
arjun

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Arif Mohd | 1 Aug 2007 11:55

How can i write reactive rules


Hi,

    Iam new to drools, iam trying to write rules which should be invoked
based on some event.Instead of writing the IF...THEN rules, the rules
specific to an event should be invoke when an event occurs.

   Please help me out with sample examples.

--

-- 
View this message in context: http://www.nabble.com/How-can-i-write-reactive-rules-tf4199149.html#a11942753
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Mark Proctor | 1 Aug 2007 13:41

Re: How can i write reactive rules

Create an Event or Alert class, insert it into the working memory. Write 
a rule that matches against that Event/Alert instance.

Mark
Arif Mohd wrote:
> Hi,
>   
>     Iam new to drools, iam trying to write rules which should be invoked
> based on some event.Instead of writing the IF...THEN rules, the rules
> specific to an event should be invoke when an event occurs.
>
>    Please help me out with sample examples.
>
>   

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Mark Proctor | 1 Aug 2007 13:39

Re: Multiple independent Assertions

shadow proxies protect you a little from this, but you can still end up 
with garbage. What a shadow proxy does is copy all the fields, so that 
during insertion time anychange to the original data will not impact 
what th network sees.

Mark
Arjun Dhar wrote:
> Hi,
>  In "stateless" Session:
>
> If List of A1,B1,C1 are executed - execute(List)
> and at the same time in a paralell thread A2,B2,C2 are executed - execute(List)
>
> In "Theory" (Conceptually), I want to confirm if A1 will interfere with the 
> rule using A2? Just want to ensure what is appropriate or expecteed behavior.
>
> ...assuming both threads hit the same session for that "delta t" period of time.
>
> thanks,
> arjun
>
> _______________________________________________
> rules-users mailing list
> rules-users <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>   

_______________________________________________
rules-users mailing list
(Continue reading)

kingston | 1 Aug 2007 15:19
Picon
Favicon

Does Drools 4.0 rules have downward compatibility with lower versions.?


--

-- 
View this message in context: http://www.nabble.com/Does-Drools-4.0-rules-have-downward-compatibility-with-lower-versions.--tf4200050.html#a11945450
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Christian Spurk | 1 Aug 2007 15:24
Picon
Favicon

Re: Does Drools 4.0 rules have downward compatibility with lower versions.?

No. See: http://blog.athico.com/2007/07/jboss-drools-40-released.html

kingston wrote:
> 

Attachment (Christian.Spurk.vcf): text/x-vcard, 763 bytes
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
kingston | 1 Aug 2007 15:26
Picon
Favicon

Re: Does Drools 4.0 rules have downward compatibility with lower versions.?


Hi ,
I just found the below statements from the documentation 
"As mentioned before Drools 4.0 is a major update over the previous Drools
3.0.x series. Unfortunatelly, in order to achieve the goals set for this
release, some backward compatibility issues were introduced, as discussed in
the maiil list and blogs. "

Where can i get more information on the backward compatibility issues ?

Thanks ,
Kingston

kingston wrote:
> 
> 
> 

--

-- 
View this message in context: http://www.nabble.com/Does-Drools-4.0-rules-have-downward-compatibility-with-lower-versions.--tf4200050.html#a11945559
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Christian Spurk | 1 Aug 2007 15:32
Picon
Favicon

Re: Does Drools 4.0 rules have downward compatibility with lower versions.?

Hi Kingston!

kingston wrote:
> Where can i get more information on the backward compatibility issues
> ?

Sorry, my last answer to your question maybe was not really complete. A 
better overview give the following pages:

http://blog.athico.com/2007/07/drools-apilanguage-changes-break.html
http://labs.jboss.com/file-access/default/members/drools/freezone/docs/4.0.0.13773GA/html_single/index.html#d0e191

HTH,
Christian
Attachment (Christian.Spurk.vcf): text/x-vcard, 763 bytes
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Mark Proctor | 1 Aug 2007 16:39

Drools RuleFlow gains subflow and milestone support

http://blog.athico.com/2007/08/drools-ruleflow-gains-subflow-and.html
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

mark.mcnally | 1 Aug 2007 16:38
Picon

nested accessors with Sets

Hello,

Please excuse me if I have double posted - my first did not seem to appear.

I am wondering if the following is valid rule syntax. I am getting  a stacktrace when the rules fire that
points to a ClassCastException on a HashSet

I am using v4.0 GA. 

Thank you, Mark

rule StateMatch
	when
	$ca:CandidateAssociation(nurseDetails.stateLicensures excludes patientDetails.state  )			
	then 	
		retract( $ca );
end

public class CandidateAssociation {
	private PatientDetails patientDetails;
	private NurseDetails   nurseDetails;
	private int overlapHours;

	public CandidateAssociation( PatientDetails patientDetails, NurseDetails nurseDetails) {
		super();
		this.patientDetails = patientDetails;
		this.nurseDetails = nurseDetails;
		overlapHours = participantDetails.getNumberOverlapHourCnt(nurseDetails);
	}
[...]
(Continue reading)


Gmane