O'Reilly logo

Oracle SOA Suite 11g Developer's Cookbook by Matt Wright, Antony Reynolds

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Applying reversing or compensating transactions

If operations occur that are not part of a transaction, then reversing operations must be applied to undo the changes. The reversing operations are performed to reverse the effects of the unwanted operations. This recipe shows how to do that.

Getting ready

Open the BPEL process that performs operations that cannot be rolled back as part of a transaction, and instead requires reversing operations to be applied in the case of a processing failure.

How to do it...

  1. For each operation (usually an invoke activity) that has a corresponding reversing operation, wrap it in a scope activity by dragging a scope from the Component Palette and dropping it just after the operation that requires reversing:
  2. Move the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required