Asked by:
Send&Receive custom pipeline

Question
-
Hi!
Which unique id BizTalk stores for message, that I can use in Send&Receive pipeline components to identify messages.
I want to store some data in Send pipeline component (use this unique id) and than read this data in Receive pipeline component (use this unique id).
Is it possible?
Monday, November 23, 2020 3:56 PM
All replies
-
Message Details Properties Dialog Box
Each message has it's own MessageID, is that what you are after?
However the message ID of the sent message and the one coming back on the receive will have a different MessageID.
There is however an InterchangeID as well, which persists across messages.
If you really need some sort of ID to correlate on, I would create some sort of unique ID myself, and make sure that the response message also contained that.
Wednesday, November 25, 2020 10:12 PM -
Thank you very much for your answer.
>> Each message has it's own MessageID, is that what you are after?
No, because I cannot use this Id for store and then load some information, which related to message, in send&receive custom pipeline.
>>If you really need some sort of ID to correlate on, I would create some sort of unique ID myself, and make sure that the response message also contained that.
Yes, it is a good way, but I cannot change system, which I receiving messages from.I try to use intechange id, but I found situation, when interchange id the same for different messages. These two messages were suspended because I stopped port and then I inspected InterchangeID... These were equal. Why?
Friday, November 27, 2020 4:54 PM -
Are there any other properties in both the message that you send and receive back that is unique?
Sunday, November 29, 2020 11:16 PM -
Unfortunatle, there arenn't :(Monday, November 30, 2020 3:06 PM
-
I had hope to use Intechange ID...
I can use it, but only in "Order Delivery" mode = on. It's guarantie unique value of Interchange ID.Monday, November 30, 2020 3:09 PM