Add Message(s)
- CreateQueue (if it doesn't already exist)
- CreateTransaction (optional)
- AddMessage (called one or more times)
- CommitTransaction (optional, message(s) will be added to queue) or RollbackTransaction (optional, message(s) won't be added to the queue)
Note: Any messages added in the transaction will not be available until the transaction is commited.
PullMessage
- CreateTransaction (optional, but will be created automatically with call to PullMessage)
- PullMessage (message will be temporarily removed from queue, can be called multiple times)
- CommitTransaction (message will leave queue) or RollbackTransaction (message will return to queue)
PullMessages
- CreateTransaction (optional, but will be created automatically with call to PullMessage)
- PullMessages (messages will be temporarily removed from queue, can be called multiple times)
- CommitTransaction (messages will leave queue) or RollbackTransaction (messages will return to queue)
PeekMessages
- PeekMessage
Note: Will return the next message in the queue, but not remove it from the queue.