[rules-users] StatelessSession

s a sank1972 at yahoo.com
Sun Apr 8 21:15:51 EDT 2012


This is possible. You can loop through the List and add individual objects to the session.
How's you List defined?

Let me know if you need specific code example.

SA



________________________________
 From: Wolfgang Laun <wolfgang.laun at gmail.com>
To: Rules Users List <rules-users at lists.jboss.org> 
Sent: Friday, April 6, 2012 8:14 AM
Subject: Re: [rules-users] StatelessSession
 
Create a java.util.List list containing your objects and call
StatelessRuleSession.execute( list ) See the Javadoc of
StatelessRuleSession.
-W

On 06/04/2012, Hassan <azbakh01 at gmail.com> wrote:
> hello everyone
>
> actually I'm working with stateless session, I know we can pass a list of
> objects in the session but I do not know how to pass objects of different
> types, I do not even know if that's possible.
>
> I will be grateful :)
>
> -----
> Youssef AZBAKH.
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/StatelessSession-tp3890043p3890043.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120408/9902626c/attachment.html 


More information about the rules-users mailing list