Inbox messages stored at the mediator which are not supported by message handlers of the edge client remain as unprocessed messages in the inbox. Therefore, those messages are processed over and over again each time the client fetches the inbox. In oder to prevent a bloated inbox, I propose to remove those messages from the inbox.
Changes proposed in this pull request:
Catch exception thrown by unsupported message types and mark message for deletion
Declare methods in EdgeClientService as virtual to allow overwrites of the default behaviour
Signed-off-by: Sebastian Bickerle sebastian.bickerle@main-incubator.com
Short description of what this resolves:
Inbox messages stored at the mediator which are not supported by message handlers of the edge client remain as unprocessed messages in the inbox. Therefore, those messages are processed over and over again each time the client fetches the inbox. In oder to prevent a bloated inbox, I propose to remove those messages from the inbox.
Changes proposed in this pull request: