메소드 | 설명 | |
---|---|---|
Build ( ) : CommandProcessor |
Builds the CommandProcessor from the configuration.
|
|
DefaultPolicy ( ) : INeedMessaging |
Use this if you do not require a policy and only want to retry once(i.e. No Tasks Queues or QoS needs).
|
|
Handlers ( |
Supplies the specified handler configuration, so that we can register subscribers and the handler factory used to create instances of them
|
|
NoTaskQueues ( ) : INeedARequestContext |
Use to indicate that you are not using Task Queues.
|
|
Policies ( IAmAPolicyRegistry thePolicyRegistry ) : INeedMessaging |
Supplies the specified the policy registry, so we can use policies for Task Queues or in user-defined request handlers such as ExceptionHandler that provide quality of service concerns
|
|
RequestContextFactory ( IAmARequestContextFactory requestContextFactory ) : IAmACommandProcessorBuilder |
The factory for IRequestContext used within the pipeline to pass information between IHandleRequests{T} steps. If you do not need to override provide InMemoryRequestContextFactory.
|
|
TaskQueues ( |
The CommandProcessor wants to support CommandProcessor.Post{T}(T) or CommandProcessor.Repost using Task Queues. You need to provide a policy to specify how QoS issues, specifically CommandProcessor.RETRYPOLICY or CommandProcessor.CIRCUITBREAKER are handled by adding appropriate Policies when choosing this option.
|
|
With ( ) : INeedAHandlers |
Begins the Fluent Interface
|
메소드 | 설명 | |
---|---|---|
CommandProcessorBuilder ( ) : System |
public Handlers ( |
||
handlerConfiguration | The handler configuration. | |
리턴 | INeedPolicy |
public Policies ( IAmAPolicyRegistry thePolicyRegistry ) : INeedMessaging | ||
thePolicyRegistry | IAmAPolicyRegistry | The policy registry. |
리턴 | INeedMessaging |
public RequestContextFactory ( IAmARequestContextFactory requestContextFactory ) : IAmACommandProcessorBuilder | ||
requestContextFactory | IAmARequestContextFactory | The request context factory. |
리턴 | IAmACommandProcessorBuilder |
public TaskQueues ( |
||
configuration | The Task Queues configuration. | |
리턴 | INeedARequestContext |