Your SlideShare is downloading. ×
BizTalk Orchestration Fundamentals
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

BizTalk Orchestration Fundamentals

5,381
views

Published on

Understand BizTalk Orchestration and demo.

Understand BizTalk Orchestration and demo.

Published in: Technology, Business

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
5,381
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesMicrosoft BizTalk ServerOrchestration FundamentalsManoj Kumarmanoj.kumar@neudesic.com 25 April 2013
  • 2. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed Services2009 2010 2007 2008August 2010Ranked as one of the toptechnology solution providersin America by CRN Magazinefor the past 4 years.The Trusted Technology Partner inBusiness InnovationAugust 2010Ranked as one of the toptechnology solution providersin America by CRN Magazinefor the past 4 years.July 2010Named Microsoft Partner ofthe Year Finalist in 2 separatecategoriesJune 2010CRN Magazines list of thelargest solution providers inNorth America
  • 3. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesWhat is BizTalk – Orchestration?Orchestration is a way to automate business processesmanagement (BPM)It is just an executable code to run a workflow supporting abusiness processOrchestration interacts with outside entities by using theports (receive and send port)Workflow: A logical and chronological set of activities in order to achieve a goal.
  • 4. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk Orchestration – Commonly used terms• Orchestration: Business interaction (similar to workflow) captured thru shapes.• Transformation: Creating a correspondence between source and target schema(via Maps)• Message Correlation: Capturing and passing data values between asynchronousmessages in same orchestration instance.• Shape: Visual representations of underlying actions• Orchestration Designer: Visual tool for creating orchestrations
  • 5. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk Orchestration – Commonly used terms• Promotion: Promotion of message properties creates decision points and becomepart of message context. Whole message must be loaded to be interrogated. Limited to255 characters.• Distinguished fields: A lighter way to access message property in orchestration.Message elements that are written into the message context. A reference is added asMessageName.RecordName.ChieldRecordName.DistinguishedFieldName.• Dehydration: Saving state of an Orchestration instance and freeing up the memorywhile waiting for external events (message, delay, retries) and idle for long time.• Rehydration: Upon trigger (message, timeout expiration) restoring the orchestrationinstance and running it from the point it left off.
  • 6. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration EngineTasks it does:– Creates instances of orchestrations and executes them– Maintains the state of a running orchestration instance so that it can berestored to memory when required– Performs optimizations of running orchestrations to maximize scalability,throughput, and efficient use of resources– Provides a reliable shutdown-and-recovery system
  • 7. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration: Message routingThru subscription from MB and publishing message to MBOn message receive: New instance activated or Existing instancerehydratedCan create new message: Persisted in the MessageBox andreferenced by the orchestration instance. XLANG/s subservice makescalls to the Message Agent API to insert messages into MB.
  • 8. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration: DehydrationDehydration: Saving state of an active orchestration instance includingall of its data to MB and then removing that instance from memory. This iswhile instance is idle for a period of time.Time-to-dehydration: MaxThreshold (30mins) and MinThreshold (1 sec)When it can occur:– Waiting to receive a message (due to external web service call or adapterresponse etc…)– Orchestration marked as long running– Between the retries of an atomic transaction
  • 9. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration: RehydrationRehydration: Loading the saved orchestration instance intomemory, restoring its state, and running it from the pointwhere it left off.When it can occur:– Engine is triggered when it receives a message– Timeout expires
  • 10. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration Designer
  • 11. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration: Steps to develop Define the schemas Add and configure the shapes to represent the business process Define new message instances to be processed Define and assign orchestration variables to declare and managethe data used in the orchestration. Define the orchestration ports to receive and send messages Bind the send and receive shapes to ports Build, deploy to GAC, and test the orchestration
  • 12. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration: DEMO - 1Orchestration Designer– Creating an Orchestration– Adding receive and send shapes– Adding ports and its binding– Copying an XML file – End to End
  • 13. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk Messaging – Promoted propertiesPromotion of message properties creates decision pointsThese become part of message contextWhole message must be loaded to be interrogated for promoted onesLimited to 255 charactersUsed for routing, correlation and/or tracking
  • 14. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk Messaging – Distinguished propertiesA lighter way to access message property in orchestrationMessage elements that are written into the message contextA reference is added asMessageName.RecordName.ChieldRecordName.DistinguishedFieldNameDistinguished fields should be used when a particular message element iscommonly manipulated in one or more orchestration
  • 15. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk Messaging – Promoted Vs Distinguished propertiesPROMOTED FIELDS/ PROPERTIES DISTINGUISHED FIELDSUsed for routing (subscription mechanism)IsPromoted = trueDo not participate in routingIsPromoted = falseUsed for tracking Not used for trackingRestricted to 255 characters No size limitationAvailable for use in orchestrations Available for use in orchestrationsRequire property schema Do not require property schemaUsed by standard pipeline componentsAccessible only by custom pipeline componentwhich would explicitly access them
  • 16. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration: DEMO - 2PromotionDistinguished fieldUsing promoted/distinguished properties
  • 17. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration: CorrelationThe mechanism for being able to receive related messages into the samerunning orchestration instance asynchronouslyTo achieve in designer:– Defines a correlation type that includes the promoted properties that areused to relate messages– Defines a correlation set (An instance of the correlation type defined above)– Correlation set initializes on send port and is being followed on other receiveportPassThrough receive pipeline can’t be used: As properties need to bepromoted to message context.
  • 18. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesBizTalk – Orchestration: DEMO - 3Correlation
  • 19. The Trusted Technology Partner in Business InnovationProducts | Consulting Services | Managed ServicesThank YouManoj Kumarmanoj.kumar@neudesic.com

×