问题
I have a Direct to MessageBox send port publishing a message, for which I would like to have the InterchangeID promoted so that I can create a sequential convoy against the current batch of messages. I am using an initializing correlation set, declaring BTS.InterchangeID as the correlated property, and applying it to the Send action.
When I run the code, these messages cause routing errors. Looking at the routing failure report, I can see that the InterchangeID is present but is "Not Promoted".
Why in this particular case is the correlation set not promoting the property when this usually just works?
回答1:
I would suggest you create your own message only context property that you can set using the BTS.InterchangeID
value rather than trying to change the properties of an existing BizTalk one as it might have unintended consequences.
来源:https://stackoverflow.com/questions/52974525/promoting-the-interchangeid-using-a-correlation-set-doesnt-work-why-not