Class SoMessageBroker
Message handler listening for messages both on the internal and the external message bus and routes trafic to the appropriate target.
Implements
Inherited Members
Namespace: SuperOffice.Messaging
Assembly: SoDataBase.dll
Syntax
public class SoMessageBroker : SoMessageHandler, IDisposable
Constructors
SoMessageBroker()
Default constructor for the message broker.
Declaration
public SoMessageBroker()
Methods
Dispose()
Dispose the message broker.
Declaration
public override void Dispose()
Overrides
Send<TMessage>(TMessage)
Send a message, provided that the target of the message is known.
Declaration
public override void Send<TMessage>(TMessage message)
where TMessage : SoMessageHeader, new()
Parameters
Type | Name | Description |
---|---|---|
TMessage | message | Message to send. |
Type Parameters
Name | Description |
---|---|
TMessage | Type of message to send. |
Overrides
SuperOffice.Messaging.SoMessageHandler.Send<TMessage>(TMessage)
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)