4 Protocol Examples

The following packet capture shows the message payload of the Preamble message sent out while using the .NET Message Framing MSMQ Binding Protocol. The specifics of network transport are excluded from this example.

Raw Message

  
 00 01 00 01 04 02 2B 6E ......+n
 65 74 2E 6D 73 6D 71 3A et.msmq:
 2F 2F 6C 6F 63 61 6C 68 //localh
 6F 73 74 2F 70 72 69 76 ost/priv
 61 74 65 2F 74 72 61 6E ate/tran
 73 61 63 74 69 6F 6E 61 sactiona
 6C 71 03 07                   lq..

Parsed Message

  
 NMF: Preamble
      -NMF: Version = 1.0
              Record Type    = Version Record (0X00)
              Major Version     = 1 (0X01)
              Minor Version     = 0 (0X00)
      -NMF: Mode = Duplex Mode
              Record Type = Mode Record (0X01)
              Mode     = Singleton Sized (0X04)
      -NMF: Via = net.msmq://<QueuePathName>/ 
              Record Type = Via Record (0X02)
              Size = 43 (0X2B)
              Via = net.tcp://localhost/private/transactionalq/
      -NMF: Encoding = Binary Session Encoding
               Record Type = Known Encoding Record (0X03)
               Encoding = Binary Encoding (0X07)