Presentation is loading. Please wait.

Presentation is loading. Please wait.

EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.

Similar presentations


Presentation on theme: "EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager."— Presentation transcript:

1 EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager

2 Agenda Scopes and Transactions Atomic Long-Running Compensation Correlation Partner Management

3 Transactions Sequence of operations that acts as a single logical unit of work Entire Orchestration as a Transaction Scopes can be transactions Atomic, Long-Running, Non-Transactional Also used for Exception Handling Compensation

4 Atomic Transactions Scope is a single DTC Transaction A.C.I.D. Properties Transactional Resources enlist in txn MSMQ, SQL – automatic rollback All transactional components will commit or abort as appropriate.NET components Non-Serializable components must be in atomic transaction

5 Atomic Transaction Properties Timeout Retry Isolation Level Synchronized

6 Long-Running Transactions Business processes typically last longer than just a few seconds Locking approaches as used in Atomic transactions are too resource intensive to scale

7 Nested Transactions Atomic Transactions cannot nest transactions Long-running Transactions can include a many levels of nesting Outer transaction is not automatically aborted when a inner transactions abort Inner Transaction have a compensation

8 Compensation Example   Atomic automatic rollback Atomic Txn 1 Compensation Long-Running Transaction Exception Process

9 Transactions in Orchestration Designer demo demo

10 Correlation Route an incoming message to it’s correct running instance. Property Promotion Correlation Sets Initializing Correlation Sets Following Correlation Sets

11 Buyer My Computer Parts Inventory Scenario Sales Order Inventory Check Inventory Avail Order Status

12 Correlation demo demo

13 Partner Management I need to ship 5,000 parts to Boston. Who can I use? I am a shipper! I can ship your parts to your customer. Service Link I have a great international reputation! I may also need to ship parts to the London assembly plant! Service Link

14 Service Link Types Service link types define the set of interaction between business processes They also define the role played by each partner Terminology: ServiceLinkType and ServiceLink

15 Identify roles and parties Role example:Role= “Shipper” Party Party = “FedEx” Party = “UPS” Party = “DHL” Party = “USPS”

16 Creating a role

17 Creating Parties example: Party = “FedEx” SendPort = http://www.fedex.com/partners/MyCo http://www.fedex.com/partners/MyCo Certificate = “1A90 F4C2 …” Alias = “FedEx”

18 Orchestration with Roles

19 Enlist parties into roles

20 Custom logic to lookup a party String shipperName = ExplorerOM.GetPreferredShipper(); shipper(Microsoft.XLANGs.BaseTypes.DestinationParty) = new Microsoft.XLANGs.BaseTypes.Party(shipperName, "Organization"); Orchestration Designer Expression

21 Partner Management demo demo

22 Community Resources http://www.microsoft.com/communities/default.mspx Most Valuable Professional (MVP) http://www.mvp.support.microsoft.com/ Newsgroups Converse online with Microsoft Newsgroups, including Worldwide http://www.microsoft.com/communities/newsgroups/default.mspx User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx

23 evaluations evaluations

24 © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.


Download ppt "EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager."

Similar presentations


Ads by Google