C# Class Nimbus.Infrastructure.NimbusMessageFactory

Inheritance: INimbusMessageFactory
Afficher le fichier Open project: NimbusAPI/Nimbus

Méthodes publiques

Méthode Description
Create ( string destinationPath, [ payload ) : Task
CreateFailedResponse ( string destinationPath, NimbusMessage originalRequest, Exception exception ) : Task
CreateSuccessfulResponse ( string destinationPath, object responsePayload, NimbusMessage originalRequest ) : Task
NimbusMessageFactory ( DefaultMessageTimeToLiveSetting timeToLive, ReplyQueueNameSetting replyQueueName, IClock clock, IDispatchContextManager dispatchContextManager ) : System

Method Details

Create() public méthode

public Create ( string destinationPath, [ payload ) : Task
destinationPath string
payload [
Résultat Task

CreateFailedResponse() public méthode

public CreateFailedResponse ( string destinationPath, NimbusMessage originalRequest, Exception exception ) : Task
destinationPath string
originalRequest NimbusMessage
exception System.Exception
Résultat Task

CreateSuccessfulResponse() public méthode

public CreateSuccessfulResponse ( string destinationPath, object responsePayload, NimbusMessage originalRequest ) : Task
destinationPath string
responsePayload object
originalRequest NimbusMessage
Résultat Task

NimbusMessageFactory() public méthode

public NimbusMessageFactory ( DefaultMessageTimeToLiveSetting timeToLive, ReplyQueueNameSetting replyQueueName, IClock clock, IDispatchContextManager dispatchContextManager ) : System
timeToLive DefaultMessageTimeToLiveSetting
replyQueueName ReplyQueueNameSetting
clock IClock
dispatchContextManager IDispatchContextManager
Résultat System