BizTalk Server Tip #28: Avoid Orchestrations when possible

biztalk tips

Use static routing, content based routing or itineraries to avoid using Orchestrations and use routing of failed messages for advance error handling since messaging doesn’t provide a rich error handling capability. This approach will give you the high performance of messaging and the power of the Orchestrations when necessary.

When a high volume of messages is going to be processed in BizTalk every cost is important, activating an Orchestration has a significant impact due to the additional Message Box hop and the Orchestration execution. In a lot of scenarios you cannot avoid Orchestrations, but in many cases you can avoid them by making use of the messaging capabilities such as routing or transformations in the ports. Another interesting aspect of this is that if something goes bad with simple messaging and you need the power of the Orchestrations you can still use them when combined with Routing of Failed Messages.

biztalk360 free trial

Author: Ricardo Torre

Head of Technical Pre-Sales & Product Strategist at BizTalk360, an enterprise software that acts as an all-in-one solution for better administration, operation, support and monitoring of Microsoft BizTalk Server environments.

  • Confused

    In the case where I have an orchestration subscribing to a receive port, isn’t that cheaper than having a series of IO operations to external queues, files, or database tables? Wouldn’t it make more sense to only have a single transition from memory to the message box?

    • Confused

      Assuming that we will need to do multiple transformations/routing logic based on the content of the message. Sure, we can get away with a ton of pipeline components and convoluted send/receive ports and a ton of IO overhead, but would that make sense?

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

Back to Top