Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • GetMessagesToPoll defines a call to poll for messages. This can be on the file system, run a query to a database, call a SharePoint site, … any target to poll for messages

  • MessageReceived is called for each message that has been retrieved. This method has the original callback which was given to the receiver by the StartReceiving method. In this method, the Entity must be transformed to a ReceivedMessage instance. and invoke the callback on it so it can be processed by the agent.

polling-template-phasesImage RemovedImage Added

  • HandleMessageException is called when an exception is thrown while handling the polled message (this exception is probably thrown somewhere in the agent and has been catched by the PollingTemplate).

  • ReleasePendingItems defines a call that specifies what to do with remaining messages when the Receiver is canceled.