Skip to main content

sow-ack-queue

Including the basic AMPS library:

using AMPS.Client;
using AMPS.Client.Message;
using AMPS.Client.Exceptions;

Acknowledging the messages for the comma-delimited set of bookmarks passed in:


// Set topic (required)
Command cmd = new Command(Message.Command.SOWDelete)
.setTopic(topic);

// Set the list of messages to be acknowledged.

cmd.setBookmark(messageList);

The command can now be used in executeAsync with a null message handler.