CreateMessage Method

Adds a message to a queue.

Syntax

public string CreateMessage(string queueId, string message);
Public Function CreateMessage(ByVal QueueId As String, ByVal Message As String) As String

Remarks

Adds a message to the queue specified. If VisibilityTimeout is specified it is updated for all the messages in the queue.

CreateMessage returns a message id assigned to the message that is added to a queue. This can then be used to ListMessages or DeleteMessage.

Note: When adding a message to a FIFO queue, the MessageGroupId configuration setting must be populated before calling this method.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 .NET Edition - Version 20.0 [Build 8155]