This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 167483 - BPEL model has to rollback changes after exception
Summary: BPEL model has to rollback changes after exception
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Sergey Lunegov
Depends on:
Reported: 2009-06-22 20:41 UTC by Nikita Krjukov
Modified: 2011-11-30 16:22 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Krjukov 2009-06-22 20:41:49 UTC
The most common approach to make changes to BPEL model is invoke(Callable ...) method. 
Now it always commit changes are done in the nested method. You can see it in sources. But it seems more
reasonable to rollback changes in case of any Exception. The current approach can lead BPEL model to inconsistent state
when only part of changes are applied. 

Moreover, it seems the BPEL model doesn't have methods to rollback changes even manually. Code observation shows that
the method rollbackTransaction works only with XAM transactions. 

It's also good idea to write some JUnit tests for BPEL Transactions.