Was this helpful?
MSMQ Queue
Note:  For general information about Queue Steps, see Queue Step.
MSMQ Queue allows a file folder to be treated like a message queue. The files in the folder can be retrieved into message objects by using the GetMessage action in a queue step. Message objects can also be written to the folder as files using the PutMessage action. The properties of the session control which files are read and the names of the files that are written, and whether to preserve the message properties.
MSMQ Queue Properties
Property
Default Value
Description
User Name
 
Username to connect to the MSMQ server.
Password
 
The password to authenticate the above username.
Server Name
 
Name of the MSMQ server.
Timeout
0
Maximum number of seconds to wait for a message to arrive on a queue when retrieving messages
BrowseMode
FALSE
Retrieve messages from a queue without removing them
Supported Actions
Action
Description
Connect
Establishes a connection to the MSMQ server.
Disconnect
Disconnects from the MSMQ server.
GetMessage
Retrieves message into a message object.
PutMessage
Writes a message object into the queue.
BeginTransaction
Starts a MSMQ transaction.
PrepareTransaction
Prepares a MSMQ transaction.
CommitTransaction
Commits a MSMQ transaction.
RollbackTransaction
Rolls back a MSMQ transaction.
 
Supported Action Parameters
Action
Parameter
Description
Connect
Server
Name of the MSMQ server.
 
Queue
Name of the queue.
GetMessage
Queue
Name of the queue.
 
Message
Message content.
PutMessage
Queue
Name of the queue.
 
Message
Message content.
 
Supported Action Properties
Action: PutMessage
Parameter
Description
Ack
Specifies the type of acknowledgement messages that MSMQ posts.
The available options are:
MQMSG_ACKNOWLEDGEMENT_NONE (default)
MQMSG_ACKNOWLEDGEMENT_FULL_REACH_QUEUE
MQMSG_ACKNOWLEDGEMENT_FULL_RECEIVE
MQMSG_ACKNOWLEDGEMENT_NACK_REACH_QUEUE
MQMSG_ACKNOWLEDGEMENT_NACK_RECEIVE
MQMSG_ACKNOWLEDGEMENT_POS_ARRIVAL
MQMSG_ACKNOWLEDGEMENT_POS_RECEIVE
MQMSG_ACKNOWLEDGEMENT_NEG_ARRIVAL
MQMSG_ACKNOWLEDGEMENT_NEG_RECEIVE
AppSpecific
Specifies application generated information such as single Integer values or application defined message classes.
The default value is: 0
AuthLevel
Specifies whether the message must be authenticated when it arrives at the target queue. The available options are:
MQMSG_AUTH_LEVEL_NONE (default)
MQMSG_AUTH_LEVEL_NONE_ALWAYS
CorrelationId
Identify the message using a 20-byte correlation identifier.
Delivery
Specifies how MSMQ delivers the message.
The available options are:
MQMSG_DELIVERY_EXPRESS (default)
MQMSG_DELIVERY_RECOVERABLE
EncryptAlgorithm
Specifies the inception algorithm used by MSMQ to encrypt private messages.
The available options are:
MQMSG_CALG_RC2 (default)
MQMSG_CALG_RC4
HashAlgorithm
Specifies the hash algorithm used by MSMQ when authenticating messages. The available options are:
MQMSG_CALG_MD4
MQMSG_CALG_MD5 (default)
MQMSG_CALG_SHA
MQMSG_CALG_SHA256
MQMSG_CALG_SHA512
MQMSG_CALG_MAC
MQMSG_CALG_RSA_SIGN
MQMSG_CALG_DSS_SIGN
MQMSG_CALG_RC2
MQMSG_CALG_RC4
MQMSG_CALG_SEAL
Journal
This property is used for queues (MSMQQueueInfo objects) and non-transaction messages (MSMQMessage objects).
The available options are:
MQMSG_JOURNAL_NONE (default)
MQMSG_JOURNAL_DEADLETTER
MQMSG_JOURNAL
Label
Specifies a description of the queue or message.
MaxTimeToReachQueue
Specifies a time limit (in seconds) for the message to reach the queue.
The available option is:
LONG_LIVED (default)
MaxTimeToReceive
Specifies a time limit (in seconds) for the message to be retrieved from the target queue.
The available option is:
INFINITE (default)
Priority
Specifies the priority of the message.
The default value is: 3
PrivLevel
Specifies the privacy level of the message to be sent.
The available options are:
MQMSG_PRIV_LEVEL_NONE (default)
MQMSG_PRIV_LEVEL_BODY_BASE
MQMSG_PRIV_LEVEL_BODY_ENHANCED
SenderCertificate
Provides an array of bytes that represents the security certificate.
SenderIdType
Specifies the type of sender identifier found by MSMQ.
The available options are:
MQMSG_SENDERID_TYPE_SID (default)
MQMSG_SENDERID_TYPE_NONE
Trace
Specifies where report messages are sent when tracing a message.
The available options are:
MQMSG_TRACE_NONE (default)
MQMSG_SEND_ROUTE_TO_REPORT_QUEUE
Last modified date: 10/22/2024