Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.08 KB

workflows.md

File metadata and controls

26 lines (17 loc) · 1.08 KB

Add Message(s)

  1. CreateQueue (if it doesn't already exist)
  2. CreateTransaction (optional)
  3. AddMessage (called one or more times)
  4. 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

  1. CreateTransaction (optional, but will be created automatically with call to PullMessage)
  2. PullMessage (message will be temporarily removed from queue, can be called multiple times)
  3. CommitTransaction (message will leave queue) or RollbackTransaction (message will return to queue)

PullMessages

  1. CreateTransaction (optional, but will be created automatically with call to PullMessage)
  2. PullMessages (messages will be temporarily removed from queue, can be called multiple times)
  3. CommitTransaction (messages will leave queue) or RollbackTransaction (messages will return to queue)

PeekMessages

  1. PeekMessage

Note: Will return the next message in the queue, but not remove it from the queue.