Differences between correlation and subscription

Home Page Forums BizTalk 2004 – BizTalk 2010 Differences between correlation and subscription

Viewing 2 reply threads
  • Author
    Posts
    • #16373

      what are the primary Difference between correlation and subscription

    • #16376

      They are very different things in truth, while both dealing with routing of a message:

       Subscription is the process of routing a message based upon metadata and structure to a particular process.

      Correlation is the process of routing a message based upon metadata and structure to a particular instance of a process that already exists.

      Lets say that you have a process which receives MsgA, sends MsgB to another system which could take a long time to return, when it does return MsgC comes back with given data and finally you produce MsgD as final output which contains data from MsgC and MsgA.

       Every message above has a subscription, you have to know how to receive or send that message.  Only the MsgC return subscription requires correlation, because you need to be able to return to a specific orchestration process, the one with your matching MsgA, so that MsgD can be properly produced.

      Put in a much more simple way, it is the difference between going to a High School football game, and an NFL football game.  At the High School game, you come in, can sit anywhere you like and watch the game.  At the NFL game, you come in and are issued a particular seat.  The process of matching you and that seat is correlation.  Going to a game is subscription.

       

    • #16379

      Correlation is the method used to match an incoming message with a running instance of an orchestration. Biztalk uses subscriptions to do this.

      Subscriptions are used to route incoming messages to send ports and orchestrations. Some subscriptions will activate the send port or orchestration and some are used for active orchestrations e.g correlations and convoys

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.