C# 클래스 Nimbus.Infrastructure.NimbusMessageFactory

상속: INimbusMessageFactory
파일 보기 프로젝트 열기: NimbusAPI/Nimbus

공개 메소드들

메소드 설명
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

메소드 상세

Create() 공개 메소드

public Create ( string destinationPath, [ payload ) : Task
destinationPath string
payload [
리턴 Task

CreateFailedResponse() 공개 메소드

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

CreateSuccessfulResponse() 공개 메소드

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

NimbusMessageFactory() 공개 메소드

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