STARIONGROUP/COMET-SDK-Community-Edition

refactor the CDPMessageBus so it can be used as an injectable service

samatstariongroup opened this issue · 0 comments

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the COMET-SDK
  • I have searched open and closed issues to ensure it has not already been reported

Description

The CDPMessageBus is implemented as a static class. This needs to be adapted so it can be used as an injectable service as well as a static class to not break the implementation in the desktop application. We can also see how to get it injectable using the MEF patterns.

The issue is that currently the messagebus is used in the web app and that server side the messagebus is shared between all the sessions.