A question was asked after reading this article: At what point is the Party resolved to the actual Party. I ran my example again, and put a breakpoint at the send port and these are my findings:
After the Destination Role Link has been set, here are the settings:
Here is the details of the actual message:
Notice that the ParyName is empty.
I sent the message (but the send port is in the stopped state) and here are the message properties:
So it looks like the resolution of Parties happens actually once the message gets submitted back to the message boxafter the orchestration is completefor the message to find out which party the message is associated with.
My biggest question is if there is a way to associate the Alias name (Party1) instead of the Organization Value (EDI:\\123456789:ZZ:123456789), the programmers reference really is not that descriptive to explain what is really going on. As soon as I learn more, I will put it here.