package org.kie.camel.container.rules;

import org.kie.camel.container.api.model.Person;

global java.lang.String testGlobal

rule "CanDrink"
when
    p : Person( age >= 21 )
then
	p.setCanDrink(true);
end

rule "CanNotDrink"
when
    p : Person( age < 21 )
then
	p.setCanDrink(false);
end
