Yes that's the right approach. and yes we should include that in the docs. 
I think that we can also define other alternatives as we were talking with kris about that subject.
Cheers

On Fri, Mar 16, 2012 at 11:51 AM, Giovanni Marigi <gmarigi@redhat.com> wrote:
Hi,
I would like to know if this is the right approach in order to work with jbpm,rules and persistence
(I mean attaching an AgendaEventListener to the knowledge session)
I tested and it is works!
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/StatefulKnowledgeSessionUtil.java

The method fireHuntilHalt on knowledge session with persistence is not working.

I think it's important to put this in the official documentation.

Giovanni



--
Giovanni Marigi
Red Hat - JBoss Consultant -
email: gmarigi@redhat.com
Mobile: +39 3423175986
Office: +39 0687502315

Red Hat Italy
Via Andrea Doria 41m
00192 Roma - Italy
www.redhat.com

Prima di stampare, pensa all'ambiente ** Think about the environment before printing
_______________________________________________
jbpm-dev mailing list
jbpm-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-dev



--
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -