[rules-users] [Drools Flow 5.1] persistence + spring + localTransaction

Greg Stasica gstasica at pacemetrics.com
Mon May 16 05:17:49 EDT 2011


hi,

i've put some notes on how to set it up in the below thread (have a look 
on the last entries)
http://drools.46999.n3.nabble.com/Can-Drools-Flow-Persistence-Work-without-JTA-td1647078.html#a2785697

but be aware of the bug
http://drools.46999.n3.nabble.com/drools-flow-persistence-doesn-t-work-with-spring-jta-bug-TODO-code-in-SingleSessionCommandService-inr-td2843098.html#a2843407

myslef, i gave up with drools flow+spring+jta. Because of the above 
bug/missing code there is no way one could not risk leaving process in 
inconsistent state when for instance using async tasks (e.g. JMS, user 
task completed by Mina server commits database changes but if a crash 
happens after db commit and before jms update you're going to have your 
system in inconsistent state)

On 11/05/2011 17:27, anton.litvinenko wrote:
> Nobody uses Drools Flow with Spring?
>
> According to svn Mark Proctor should be aware why/how this localTransaction
> flag is used. Mark could you please comment?
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Drools-Flow-5-1-persistence-spring-localTransaction-tp2875263p2928070.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
>

-- 
Greg Stasica

PaceMetrics Ltd.
T  +353 1 8849921

PaceMetrics Limited is registered in Ireland as a private company limited by shares, Registration  No.  298243,  Registered office:  PaceMetrics House, East Point Business Park, Dublin 3. This e-mail may contain confidential, proprietary or privileged information. If you are not the intended recipient (or have received this e-mail in error) please destroy this e-mail and notify the sender immediately by telephoning +353 1 8184000. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.





More information about the rules-users mailing list