- In-Process host instances are Windows services and
- Isolated host instances are normally IIS application pool processes.
- In-Process hosts are used for services running inside the BizTalk, which can be managed using BizTalk admin.
- Isolated hosts are used for HTTP, asp.net processes which are potentially running outside the BizTalk services.
2. Differentiate between Distinguished and Promoted Property.
|
Distinguished Property |
Promoted Property |
|
Only accessible within an
orchestration. Not available for other BizTalk server artifacts such as
receive location, send port, send port groups or other BizTalk
utilities. |
These are accessible throughout
all the BizTalk message life cycle i.e. inside orchestration, or from custom
code, routing, pipelines. |
|
Do not have size limitation. |
Size limitation up to 256
characters length. |
|
Do not required to create
property schema. |
Property schema required. |
|
Not persisted in the message box
data base. |
Persisted in the message box data
base. |
|
It is used as XPATH expression,
which points to the appropriate XML data field in the schema. |
It is a system-defined message
context property or transport context property, or custom define property by
making reference to schema fields from within a property schema. Properties
are used in subscriptions and correlations. |
|
Not use for tracking data in the
BizTalk database. |
Use of tacking data in the BizTalk database |
|
It is light weight and cost is less. |
It is publish in Message Box
context and subscription tables, hence it has additional overhead. |
5. What is Enlist, Unenlist, Stat, Stop, Enable, Disable states on BizTalk ports and orchestration?
- When subscriber is started that means it is enlisted also. Messages flows smoothly though Message Box as Message Box creates subscription for particular subscriber. When subscriber is started we can either stop or unenlist it.
- When subscriber is stopped that means it is enlisted also. Messages comes in the Message Box for the particular subscriber. But, it won't flow, it will stay inside Message Box with Suspended Resumable state until subscriber is started. When subscriber is stopped we can either start or unenlist it.
- Unenlisted state of subscriber means it is stopped also. Subscriber is not available, hence Message Box do not create subscription for subscriber. It will throw error like "the publised message could not be routed because no subscribers were found". When subscriber is unenlisted we can either start or enlist it.
|
Atomic Transaction |
Long Running Transaction |
|
It takes short time to execute (typically seconds). |
It can take more time to execute (might span hours or days). |
|
These transactions satisfy all ACID (Atomic, Consistent, Isolated, and Durable) attributes, and thus need to acquire data locks on resource managers such as SQL Server. |
These transactions supports only Consistency and Durability attributes. It must not acquire data locks because of severe performance implications for process completion. |
|
If all operations within a transaction scope succeed, then the transactions is committed automatically, else if any operation fails the entire transaction is rolled back. |
Committing or rolling back of transaction must be handled explicitly by developer in the code. Here transaction manager is not present. |
|
It supports calling of Non-Serializable dot net classes. |
It does not supports for Non-Serializable dot net classes. |
|
Atomic transaction does not support nesting of transactions. |
Long running transaction supports nesting of transactions. |
|
It can contain transaction type – none |
It can contain transaction type – long running and atomic. |
|
Synchronized property is always true. |
Synchronized property can be true or false. |
|
Operations commit or roll back happens together. |
Operations commit or roll back happens independently. |
|
Atomic transaction can only have a compensation block, and a scope configured with the transaction type none can only have an Exception block. |
Long running transaction scope can have both Exception block and compensation block. |
|
MSDTC- Microsoft Distributed Transaction Co-ordination is present as transaction manager. |
Transaction manager not required. |
|
Acquires data locks on Resource Manager e.g. SQL Server. |
Does not acquires any data locks. |