Activiti

Verify exception and rollback behavior in Spring context

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 5.0.beta2
  • Component/s: Engine
  • Labels:
    None
  • Number of attachments :
    0

Description

see org.activiti.examples.spring.UserBean

Work out different scenarios exception scenarios so that rollback in a Spring transaction context is better covered.

1) Exception in the Activit method itself

2) Exception in transactional user bean method after the Activiti service method invocation completed successfully. Afterwards, check if also the Activiti updates have been rolled back.

3) Make a timer that throws an exception. Check retries decrement afterwards.

Issue Links

Activity

Hide
Tom Baeyens added a comment -

I believe these were intended for future releases. I assigned them to beta 1 release so that we can discuss them in context of the next release

Show
Tom Baeyens added a comment - I believe these were intended for future releases. I assigned them to beta 1 release so that we can discuss them in context of the next release
Hide
Tom Baeyens added a comment -

Nick is still validating if this works in his environment. Nick can you comment your findings here?

Show
Tom Baeyens added a comment - Nick is still validating if this works in his environment. Nick can you comment your findings here?
Hide
Tom Baeyens added a comment -

Nick replied that it works now

Show
Tom Baeyens added a comment - Nick replied that it works now

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: