C# Class Nimbus.Infrastructure.NimbusMessageFactory

Inheritance: INimbusMessageFactory
ファイルを表示 Open project: NimbusAPI/Nimbus

Public Methods

Method 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 method

public Create ( string destinationPath, [ payload ) : Task
destinationPath string
payload [
return Task

CreateFailedResponse() public method

public CreateFailedResponse ( string destinationPath, NimbusMessage originalRequest, Exception exception ) : Task
destinationPath string
originalRequest NimbusMessage
exception System.Exception
return Task

CreateSuccessfulResponse() public method

public CreateSuccessfulResponse ( string destinationPath, object responsePayload, NimbusMessage originalRequest ) : Task
destinationPath string
responsePayload object
originalRequest NimbusMessage
return Task

NimbusMessageFactory() public method

public NimbusMessageFactory ( DefaultMessageTimeToLiveSetting timeToLive, ReplyQueueNameSetting replyQueueName, IClock clock, IDispatchContextManager dispatchContextManager ) : System
timeToLive DefaultMessageTimeToLiveSetting
replyQueueName ReplyQueueNameSetting
clock IClock
dispatchContextManager IDispatchContextManager
return System