Namespace LemonEdge.API.Messages
Classes
MessageManagerAttribute
An attribute to be marked against any IMessageListener and IMessenger implementations so the system knows how to configure them from the MessageType config setting
If this attribute is not marked against the implementations the system can not use it from the MessageManagerFactory and can not be configured to use it from the config settings
The system provided storage manager has a key of Azure.MessageManagerFactory
The factory the system uses to retrieve IMessenger and IMessageListener implementations according to the MessageType config settings
Interfaces
IMessageListener
An interface for connecting to a message service, subscribing to a topic, and listening for messages. Used by the system in order for lemonedge to pass messages for synchronisation across services.
By default the MessageType config setting only allows Azure message bus configuration
Implementing this interface, and IMessenger, and marking them with the MessageManagerAttribute will expand the options from the config settings to enable using your custom message service.You can then configure the use of that by LemonEdge using MessageType, MessageConnectionString and MessageTopicForServerSync config settings
IMessenger
An interface for connecting to a message service, subscribing to a topic, and sending messages to it. Used by the system in order for lemonedge to pass messages for synchronisation across services.
By default the MessageType config setting only allows Azure message bus configuration
Implementing this interface, and IMessageListener, and marking them with the MessageManagerAttribute will expand the options from the config settings to enable using your custom message service.You can then configure the use of that by LemonEdge using MessageType, MessageConnectionString and MessageTopicForServerSync config settings
IMessengerBase
A base implementation for message senders and listeners common functionality