Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Any new incoming message that matches a correlation instance subscription is delivered in BizTalk Server


View products that this article applies to.

Introduction

When an orchestration contains a correlated receive shape in Microsoft BizTalk Server, any new incoming message that matches the correlation instance subscription is delivered. The new incoming message is still delivered if the orchestration is in the suspended resumable state.

↑ Back to the top


More information

A correlation instance subscription is created when the shape that initializes the correlation set is executed. An orchestration may be suspended, and the orchestration may be put in the suspended resumable state. In this situation, the correlation instance subscription is not deleted. Therefore, any new incoming message that matches the correlation instance subscription is delivered to the orchestration that is in the suspended resumable state.

The correlation instance subscription is deleted only when the orchestration finishes or terminates.

The initial receive shape and the correlated receive shape may use the same message type. In this situation, you can require the new incoming message to create a new orchestration. The new orchestration must contain logic to do the following things:
  • To catch the exception that suspends the message
  • To save the message and any error details
  • To terminate itself so that the next message can create a new orchestration
Or, you can save the message and any error details. Then, you can require the correlated receive shape to handle the next message within the same orchestration.

↑ Back to the top


Keywords: KB952560, kbinfo, kbhowto, kbbts

↑ Back to the top

Article Info
Article ID : 952560
Revision : 2
Created on : 7/3/2008
Published on : 7/3/2008
Exists online : False
Views : 455