DEV Community

Daniel Jonathan
Daniel Jonathan

Posted on • Originally published at biztalkdj.blogspot.com on

Custom Context Property Schema and Property Promotion using Correlation

In this article, I would Develop custom context properties and initialize correlation to promote properties to context and subscribe the messages based on the context values.

Lets create a Biztalk project and add new property schema then add property elements as shown below. Deploy the project to Admin Console and then create a send port and in Filters tab choose the custom property element as shown.

1

Now, create another BizTalk project with an orchestration and a schema,this process receives a message from a file receive port and creates a copy of the same message with updated context information which would be used for subscription by send port acting as a subscriber.Finally updated copy of message is sent to destination. Add the reference of the context property schema project.

1

Create a correlation type and correlation set on the custom property element in the orchestration view and initialize the correlation set in the send shape as shown below.

1

Deploy this solution and test.

Top comments (0)