BizTalk Direct bound to messageBox and Passing context Values

Home Page Forums BizTalk 2004 – BizTalk 2010 BizTalk Direct bound to messageBox and Passing context Values

Viewing 1 reply thread
  • Author
    Posts
    • #22813

      Hi All gurus,

                            I have a requirement where we Have four different interfaces which are all indepndent and not  refering anybody. Now the requiremnt is I want to pass Bam Acitivity Id from first interface to all downgrade Interfaces. At the first interface I can publish Message to the MessageBox using Direct bound to message box and All other Interfaces will retrive that message based on dirct bound port But I also want to pass BamActivity Id field to all Downstram Transactions which I cant keep as part of outgoing message.

                                                 As these messages are EDImessages,  I thought of Assigning Bam Activity ID to one of the EDI cONTEXT Properties And use Dirext Binding using Partner Orchestration Port which will work fine But for that All the downstram transaction has to have a reference of first Initiating transaction which I dont whant to make dependency….Is there any other way I can Accomplish this? Please reply…[^o)]

    • #22814

      Yes, you could create a message context property that you can add to each message.  This context property can be set to the BamActivityId in the first orchestration.  When the message is then received by any downstream orchestration they could just read this context property.

      -Ben

      • #22815

        Hey Ben, Thanks for your reply….Do I need to create a proprty Schema for That? Can u explain in a bit?

        • #22818

          Yes, create a property schema and insert a child field element.  In the properties window for this new element be sure to set the Property Schema Base property to MessageContextPropertyBase.  This allows you to use this property as a context property.

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