Tuesday, December 28, 2010

Functionality of Scope Shape in orchestration

There are several benefits of using a scope:
1. You encapsulate some of your code, and can declare local variablesand messages inside it, that will be garbage collected once the scopehas finished.
2. You can add exception handlers to scopes, to deal with anyeceptions that might occur.
3. You can have fewer persistance points, if you wrap for example tosend shapes inside one atomic shape, you only get one instead of twopersistance points.
4. If you have several shapes inside an atomic shape, BizTalk guaranteesthat all the shapes are executed or none of them. So there is anautomatic rollback of everything that happened inside the shape incase of a failure later on in the shape.

No comments:

Post a Comment