Date post: | 18-Jan-2018 |
Category: |
Documents |
Upload: | quentin-milo-shepherd |
View: | 215 times |
Download: | 0 times |
EBZ306Advanced Business Process Automation Using BizTalk Server 2004
David FongProgram Manager
Agenda
Scopes and TransactionsAtomicLong-RunningCompensation
CorrelationPartner Management
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
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
Atomic Transaction Properties
TimeoutRetryIsolation LevelSynchronized
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
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
Compensation Example
Atomic automatic rollbackAtomic automatic rollback
Atomic Txn 1 CompensationAtomic Txn 1 CompensationLong-Running TransactionLong-Running TransactionException ProcessException Process
Transactions in Orchestration Designer
demodemo
Correlation
Route an incoming message to it’s correct running instance.
Property PromotionCorrelation SetsInitializing Correlation SetsFollowing Correlation Sets
BuyerBuyer My ComputerMy ComputerPartsParts
InventoryInventory
Scenario
Sales OrderSales Order
Inventory CheckInventory Check
Inventory AvailInventory AvailOrder StatusOrder Status
Correlation
demodemo
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
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
Identify roles and parties
Roleexample: Role= “Shipper”
PartyParty = “FedEx”Party = “UPS”Party = “DHL”Party = “USPS”
Creating a role
Creating Parties
example:Party = “FedEx”SendPort = http://www.fedex.com/partners/MyCo
Certificate = “1A90 F4C2 …”Alias = “FedEx”
Orchestration with Roles
Enlist parties into roles
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
Partner Management
demodemo
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
evaluationsevaluations
© 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.