VBScript listing of base client in queued component sample
' Microsoft 1998 PDC session AS10 Queued Components Sample
' Base client - "Order Entry"
Dim Ship
Set Ship = GetObject("queue:/new:VBShipProj.VBShip")
Ship.CustomerID = 1111
Ship.OrderID     = 2222
Ship.LineItem 12, "Drummers drumming"
Ship.LineItem 11, "Pipers piping"
Ship.LineItem 10, "Lords a leaping"
Ship.LineItem  9, "Ladies dancing"
Ship.LineItem  8, "Maids a milking"
Ship.LineItem  7, "Swans a swimming"
Ship.LineItem  6, "Geese a laying"
Ship.LineItem  5, "Gold rings"
Ship.LineItem  4, "Calling birds"
Ship.LineItem  3, "French hens"
Ship.LineItem  2, "Turtledoves"
Ship.LineItem  1, "A partridge in a pear tree"
Ship.Process
Figure 11
 
MSMQ Properties Available to 
Queued Components Through the Queue 
| AppSpecific | Application-specific information attached to message. | None | 
| AuthLevel | Specifies whether MSMQ attached to message. by attaching digital signatures to them. | Derived from server application information installed on client. | 
| ComputerName | Name of computer on which recipient queue resides. | Derived from server application information installed on client. | 
| Delivery | Specifies whether MSMQ messages are always committed to disk for reliability while in transit (recoverable) or kept in RAM for speed (express). | Recoverable | 
| EncryptAlgorithm | Encryption algorithm used if sending a private message. | MSMQ default | 
| FormatName | Format name of the queue. | MSMQ default | 
| HashAlgorithm | Algorithm used for computing checksum to verify message hasn't been tampered with. | MSMQ default | 
| Journal | Specifies the journaling level of the queue. | MSMQ default | 
| Label | Human-readable string attached to a message. | MSMQ default | 
| MaxTimeToReachQueue | Time after which message is deleted if it hasn't reached the queue on the recipient's machine. | Infinite | 
| MaxTimeToReceive | Time after which message is deleted if it hasn't been read from the queue by the receiving app. | Infinite | 
| PathName | Full path name to the recipient queue. | Derived from server application information installed on client. | 
| Priority | Priority level of sent messages, level 1-7. | MSMQ ignores priority for transacted queues. | 
| PrivLevel | Message's level of privacy. Determines whether message is encrypted. | MSMQ default | 
| QueueName | Name of destination queue on recipient machine. | Derived from server application information installed on client. | 
| Trace | Specifies whether to generate response messages tracing a message's path through the MSMQ enterprise network. | Off |