Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As we can see, both "incrementEmployeeSalary" operations are executed at once when the boxcarring session ends with "end_boxcar", resulting in the salary value to 3500. If there's any error in any of the operations inside a boxcarring session, none of the operations will be executed and the service calls will roll-back. A boxcarring session can also be explicitly canceled by calling the "abort_boxcar" operation.

Excerpt
hiddentrue

Data services sample - boxcarring demo in WSO2 Data Services Server.