I could not figure how to retrieve the time stamp of the received messages. Based on the time the messages received I have to send emails to two different send ports. I understand how can I dynamically send the messages but dont know, how can I decide based on the time it arrives.
Can anyone help me with this. Thanks a lot.
Since you are using the File Adapter, you can read out the
FileCreationTime
Property of thehttp://schemas.microsoft.com/BizTalk/2003/file-properties
NameSpace. This Property holds the DateTime when the file was created in the file location monitored by the adapter.When you want the DateTime of the message when it was received in BizTalk, you should use the
AdapterReceiveCompleteTime
of thehttp://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
NameSpace.