Revision #2

You are currently reviewing an older revision of this page.
Go to current version


Introduction

This article intends to cover the answers to the questions which a BizTalk developer can face at an Interview based on Orchestration.

Questions and Answers

1. How are messages created in an orchestration?
  • You construct a message any time that you introduce a message into your orchestration, either by receiving it or by assigning values to a message variable (see MSDN Constructing Messages   ). There are several ways to create a new instance of a message in an orchestration, see Michael Stephenson blog post Message Construction in an Orchestration   .
2. Where is information about promoted properties stored?
  • The information about the promoted properties is extracted and stored in the bts_documentspec table in the Management database.
3. What is message metadata?
  • The message metadata is called Context Properties and on receiving the message , both the adapter and the pipeline will add information to the context.
4. Can we use message metadata in Orchestration?
  • Yes
5. How does Orchestration subscribes to messages?
6. Design patterns in Orchestration?
  • One of the best practices when implementing orchestrations is to use orchestration patterns when possible. These patterns are basically design pattern, which is a general reusable solution to a commonly occurring problem within a given context of BizTalk orchestration. This article will provide some useful resource links to aid you in using patterns when implementing an orchestration. See TechNet Wiki articles BizTalk Server 2010: Orchestration Patterns and BizTalk: Enterprise Integration Patterns.
7. Types of messages ?
  • Two types of message 
  1. Typed message : A message created in Orchestration is bound to schema
  2. Untyped message : A message is bound to System.Xml.XmlDocument instead of schema.
8. How to load message in a variable?
9. Can recursion be achieved in Orchestration?
  • No
10. What is binding?
  • The term binding refers to the configuration of orchestration ports in order to control the creation of subscriptions and/or promoted properties. Binding is used to control how messages will be routed to or from orchestration ports by the subscription mechanism.
11. Is it necessary for all .Net components being called from orchestration to be serializable?
12. Is it possible : Orchestration A calls another Orchestration B and vice versa?
  • No it is not, since it forms cyclic dependency.
13. What is XLANG and where it is used?
14. Can we prevent Orchestration from entering a suspended state? 
15. What is persistence point?
16. XMLDocument is non-serializable still it's called without atomic scope with no error,why?
17. What is maximum number of properties that can be used in correlation set ?
18. Can an Atomic scope can have exception handler of their own?
  • No, it can only have a Compensation Block.
19. Pro's and Con's of Direct binding?
20. Can orchestration use components other than listed in Toolbox?
21. When is convoy used?
22. Is it mandatory to have "Receive shape" as the first shape in orchestration?
23. Is it possible to enforce Orchestration to behave in singleton way?
24. Where is BTS.SPID and BTS.ReceivePortID used?
25. When is property "Synchronized=true" used?
26. What is maximum number of branches that can be used in a parallel shape?
27. Which language does expression shape support?
28. What is relation between Orchestration instance and correlation?
29. What are the ways to add properties in context?
30. What is difference between written property and promoted property?
31. What is correlation type?

Author

Maheshkumar S. Tiwari
iVision Software Pvt Ltd
  http://tech-findings.blogspot.com/    

Revert to this revision