It depends on what you mean by fail:
If svcB triggers a rollback then by default svcA will rollback, see the require-new-transaction attribute
If svcB returns failure then svcA won't roll back
If svcB returns error then svcA will rollback by default, see the break-on-error attribute

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 17/07/2009, at 12:53 AM, snowch wrote:


If have a service (e.g. svcA) that calls another service (e.g. svcB) as per
the pseudo code:

svcA:
 1. lookup entity
 2. modify entity
 3. store entity
 4. call svcB
 5. return

If svcB fails, does step 3 rollback?
--
View this message in context: 
http://www.nabble.com/minilang-transactions-tp24515741p24515741.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to