Tuesday, 12 July 2016

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.

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.
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.
Deploy this solution and test.

The video demonstration is available on the Youtube, here is the embedded video.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.