[rules-users] Same global name in multiple drl

Mark Proctor mproctor at codehaus.org
Sat Mar 14 19:56:04 EDT 2009


techy wrote:
> Hello,
> If I have declared the same global var(ex:global Logger logger) in two drls
> and then add those into package builder & rulebase,
>
> how does drools handle them? will first declaration be overridden by first?
> Please clarify.
>   
globals are global to the session, it just merges them as one declaration.

Mark
>
>   





More information about the rules-users mailing list