Skip to main content

Task MSMQ - Send Message​

The MSMQ - Send message Task sends a message to a Microsoft Message Queuing (MSMQ) queue on the Server computer or on a remote computer.

MSMQ - Send message tab, with the scope, the queue and the message settings

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

MSMQ - Send message tab​

Scope

  • Credential: the Credential the Task runs as when it connects to the queue. Available with Remote MSMQ. A Credential saved earlier is still used after switching to Local MSMQ; see Credentials
  • Local MSMQ (default): the queue is on the Server computer
  • Remote MSMQ: the queue is on another computer
  • Host name: the host name or IP address of the remote computer. Available with Remote MSMQ

Queue

The queue to send the message to. A journal queue cannot be used. Click the refresh button to fill the list with the queues of the selected computer.

Message

  • Label: the label of the message. Required
  • Message serialization: how the message body is written to the queue:
    • "Xml serialization" (default): as XML
    • "String serialization": as a string
    • "Binary serialization": as binary data
  • Message: the body of the message. Required

Label and message may contain Variables.

Output and errors​

The output is the label of the sent message. If the queue is not found or the message cannot be sent, the Task fails.