Class: Synapse::Configuration::AsynchronousCommandBusDefinitionBuilder

Inherits:
SimpleCommandBusDefinitionBuilder show all
Includes:
ThreadPoolDefinitionBuilder
Defined in:
lib/synapse/configuration/component/command_bus/async_command_bus.rb

Overview

Definition builder used to build an asynchronous command bus

Examples:

The minimum possible effort to build an asynchronous command bus

async_command_bus

Create an asynchronous command bus with a custom thread count

async_command_bus do
  use_pool_options size: 2
end

See Also:

Instance Attribute Summary

Attributes inherited from DefinitionBuilder

#id

Method Summary

Methods included from ThreadPoolDefinitionBuilder

#use_pool_options

Methods inherited from SimpleCommandBusDefinitionBuilder

#use_filter_tag, #use_handler_tag, #use_interceptor_tag, #use_rollback_policy, #use_unit_factory

Methods inherited from DefinitionBuilder

#anonymous, #as_prototype, #as_singleton, build, #build_composite, #build_definition, #clear_tags, #identified_by, #initialize, #register_definition, #replace_tags, #tag, #use_factory, #use_instance

Constructor Details

This class inherits a constructor from Synapse::Configuration::DefinitionBuilder