Class ZaminChaparSendMessageBus
Implements Zamin.Extensions.MessageBus.Abstractions.ISendMessageBus by delegating to the Chapar bus.
Outbox records (Parcel) are published as ParcelMessage events.
Inheritance
ZaminChaparSendMessageBus
Implements
ISendMessageBus
Assembly: Chapar.Zamin.dll
Syntax
public sealed class ZaminChaparSendMessageBus : ISendMessageBus
Constructors
|
Edit this page
View Source
ZaminChaparSendMessageBus(IChaparBus, IJsonSerializer)
Declaration
public ZaminChaparSendMessageBus(IChaparBus bus, IJsonSerializer serializer)
Parameters
| Type |
Name |
Description |
| IChaparBus |
bus |
|
| IJsonSerializer |
serializer |
|
Methods
|
Edit this page
View Source
Publish<TInput>(TInput)
Declaration
public void Publish<TInput>(TInput message)
Parameters
| Type |
Name |
Description |
| TInput |
message |
|
Type Parameters
|
Edit this page
View Source
Send(Parcel)
Declaration
public void Send(Parcel parcel)
Parameters
| Type |
Name |
Description |
| Parcel |
parcel |
|
|
Edit this page
View Source
SendCommandTo<TCommandData>(string, string, string, TCommandData)
Declaration
public void SendCommandTo<TCommandData>(string destinationService, string commandName, string aggregateId, TCommandData commandData)
Parameters
| Type |
Name |
Description |
| string |
destinationService |
|
| string |
commandName |
|
| string |
aggregateId |
|
| TCommandData |
commandData |
|
Type Parameters
| Name |
Description |
| TCommandData |
|
|
Edit this page
View Source
SendCommandTo<TCommandData>(string, string, TCommandData)
Declaration
public void SendCommandTo<TCommandData>(string destinationService, string commandName, TCommandData commandData)
Parameters
| Type |
Name |
Description |
| string |
destinationService |
|
| string |
commandName |
|
| TCommandData |
commandData |
|
Type Parameters
| Name |
Description |
| TCommandData |
|
Implements
Zamin.Extensions.MessageBus.Abstractions.ISendMessageBus