Receiving Acknowledgments

Acknowledgments for a specific command or subscription are delivered as a part of the message stream for that command. In an AMPS client, this means that whatever method an application is using to receive responses from AMPS will include acknowledgment messages.

Acknowledgments from AMPS have a command type of ack. This command type is reserved for responses from AMPS to a client. The CommandId of the acknowledgment message contains the CommandId provided by the client on the command that AMPS is responding to. The client uses this CommandId to route the acknowledgment message to the correct message processor in the application.

Notice that when acknowledgments are conflated -- that is, the acknowledgment refers to a number of publish commands -- AMPS does not include a CommandId in the acknowledgment message. Further details are provided in the section on Acknowledgment Conflation.

Last updated

Copyright 2013-2024 60East Technologies, Inc.