Class: Synapse::Configuration::CommandGatewayDefinitionBuilder
- Inherits:
-
DefinitionBuilder
- Object
- DefinitionBuilder
- Synapse::Configuration::CommandGatewayDefinitionBuilder
- Defined in:
- lib/synapse/configuration/component/command_bus/gateway.rb
Overview
TODO:
Support for command filters and retry scheduler
Definition builder used to create a command gateway
Instance Attribute Summary
Attributes inherited from DefinitionBuilder
Instance Method Summary collapse
-
#use_command_bus(command_bus) ⇒ undefined
Changes the command bus that commands are sent from the gateway.
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
Instance Method Details
#use_command_bus(command_bus) ⇒ undefined
Changes the command bus that commands are sent from the gateway
20 21 22 |
# File 'lib/synapse/configuration/component/command_bus/gateway.rb', line 20 def use_command_bus(command_bus) @command_bus = command_bus end |