Are you frustrated in searching through Search Engines ?
Difference between Promoted Property and Distinguished Field in Biztalk Server
- S.NoPromoted PropertyDistinguished Field
1 Whether it is used for routing ?
Used for routing (subscription mechanism)
IsPromoted = trueWhether it is used for routing ?
Do not participate in routing
IsPromoted = false2 Whether it is used for tracking ?
Used for trackingWhether it is used for tracking ?
Not used for tracking3 Size Limit:
Restricted to 255 charactersSize Limit:
No size limitation4 Whether it requires Property Schema ?
Require property schemaWhether it requires Property Schema ?
Do not require property schema5 Whether it used by standard / custom Pipeline Components ?
Used by standard pipeline componentsWhether it used by standard / custom Pipeline Components ?
Accessible only by custom pipeline component which would explicitly access them6 Syntax:
msgOrder(BookShop.CustomerId)Syntax:
msgOrder(BookShop.CustomerId)7 Where it can be accessed ?It can be accessed both in orchestration code and in the messaging configuration (e.g.filters on send ports).Where it can be accessed ?It can be accessed only in code in orchestrations.i.e., Distingished fields are light weight and can be accessed only in Orchestrations.8 Storage:A promoted property is stored in the message context.Storage:Only run-time access.9 Routable:Yes, as they are attached to the message Context they can be used for routing.Routable:No10 Whether it should be constrained by message contents ?
No, any type value can be promoted in a pipeline (there is no need for the value to be contained in the message).Whether it should be constrained by message contents ?
It should be constrained by message contents Yes,only values within the message may be accessed.11 Expensive:
Yes, even if they are never used they are always read and inserted into the message context. As the message is passed through the MessageBox and Orchestration the context needs to be copied and stored.In Short,the more Promoted Fields we have the more costly the subscription process is.Expensive:
No12 .XSD type support:Less than Distinguished Field supports..XSD type support:More than promoted property supports.13 Whether it visible in HAT ?
YesWhether it visible in HAT ?
No14 When we should go for Promoted Property ?
Promoted Property should be used for routing, correlation and/or tracking.When we should go for Promoted Property ?
Distinguished fields should be used when a particular message element is commonly manipulated in one or more orchestration.
Note:
HAT stands for Health and
Activity Tracking
References:
No comments:
Post a Comment