I am trying to identify the messages I am saving in a folder using MessageID property. However the MessageID values are different from the values I get when I use BTS.MessageID
. Why?
In my orchestration I receive a message "myMsg" from a receive port (with receive pipeline: XML Receive). After that I check myMsg(BTS.MessageID)
value with
System.Diagnostics.EventLog.WriteEntry("MessageID", System.String.Format("The Value = {0}", myMsg(BTS.MessageID)));
and I get for example this value: c9953bec-72a8-4274-9ea3-d7770c52d4ab
Then I send my message through a send port (with send pipeline: PassThruTransmit)
When the message is saved, the name is: {EE2AB9A1-FA3C-4737-BB02-6AC0C0EA5EBC}.xml
Why are they different? I thought they would be the same.