+ All Categories
Home > Documents > EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.

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

Date post: 18-Jan-2018
Category:
Upload: quentin-milo-shepherd
View: 215 times
Download: 0 times
Share this document with a friend
Description:
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
24
EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager
Transcript
Page 1: EBZ306 Advanced Business Process Automation Using BizTalk Server 2004 David Fong Program Manager.

EBZ306Advanced Business Process Automation Using BizTalk Server 2004

David FongProgram Manager

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

Agenda

Scopes and TransactionsAtomicLong-RunningCompensation

CorrelationPartner Management

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

Transactions

Sequence of operationsSequence of operations that acts that acts as a as a single logical unit of worksingle logical unit of work

Entire Orchestration as a TransactionScopes can be transactions

Atomic, Long-Running, Non-TransactionalAlso used for Exception Handling

Compensation

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

Atomic Transactions

Scope is a single DTC TransactionA.C.I.D. PropertiesTransactional Resources enlist in txn

MSMQ, SQL – automatic rollbackAll transactional components will commit or abort as appropriate

.NET componentsNon-Serializable components must be in atomic transaction

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

Atomic Transaction Properties

TimeoutRetryIsolation LevelSynchronized

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

Long-Running Transactions

Business processes typically last longer than just a few secondsLocking approaches as used in Atomic transactions are too resource intensive to scale

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

Nested TransactionsAtomic Transactions cannot nest transactionsLong-running Transactions can include a many levels of nesting Outer transaction is not automatically aborted when a inner transactions abortInner Transaction have a compensation

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

Compensation Example

Atomic automatic rollbackAtomic automatic rollback

Atomic Txn 1 CompensationAtomic Txn 1 CompensationLong-Running TransactionLong-Running TransactionException ProcessException Process

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

Transactions in Orchestration Designer

demodemo

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

Correlation

Route an incoming message to it’s correct running instance.

Property PromotionCorrelation SetsInitializing Correlation SetsFollowing Correlation Sets

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

BuyerBuyer My ComputerMy ComputerPartsParts

InventoryInventory

Scenario

Sales OrderSales Order

Inventory CheckInventory Check

Inventory AvailInventory AvailOrder StatusOrder Status

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

Correlation

demodemo

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

Partner Management

I need to ship I need to ship 5,000 parts to 5,000 parts to Boston. Who Boston. Who

can I use?can I use?

I am a shipper! I am a shipper! I can ship your I can ship your parts to your parts to your

customer.customer.

Service Link

I have a great I have a great international international reputation!reputation!

I may also need I may also need to ship parts to to ship parts to

the London the London assembly plant!assembly plant!

Service Link

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

Service Link Types

Service link types define the set of interaction between business processesThey also define the role played by each partner

Terminology: ServiceLinkType and ServiceLink

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

Identify roles and parties

Roleexample: Role= “Shipper”

PartyParty = “FedEx”Party = “UPS”Party = “DHL”Party = “USPS”

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

Creating a role

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

Creating Parties

example:Party = “FedEx”SendPort = http://www.fedex.com/partners/MyCo

Certificate = “1A90 F4C2 …”Alias = “FedEx”

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

Orchestration with Roles

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

Enlist parties into roles

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

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

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

Partner Management

demodemo

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

Community Resources

Community Resourceshttp://www.microsoft.com/communities/default.mspx

Most Valuable Professional (MVP)http://www.mvp.support.microsoft.com/

NewsgroupsConverse online with Microsoft Newsgroups, including Worldwidehttp://www.microsoft.com/communities/newsgroups/default.mspx

User GroupsMeet and learn with your peershttp://www.microsoft.com/communities/usergroups/default.mspx

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

evaluationsevaluations

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

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


Recommended