Class: RFlow::Components::Replicate
- Inherits:
-
RFlow::Component
- Object
- RFlow::Component
- RFlow::Components::Replicate
- Defined in:
- lib/rflow/components/replicate.rb
Instance Attribute Summary
Attributes inherited from RFlow::Component
Instance Method Summary collapse
Methods inherited from RFlow::Component
build, #cleanup!, #configure!, #configure_input_port!, #configure_output_port!, #connect_inputs!, #connect_outputs!, define_port, defined_input_ports, defined_output_ports, inherited, #initialize, input_port, #input_ports, output_port, #output_ports, #run!, #shard, #shutdown!, #to_s
Constructor Details
This class inherits a constructor from RFlow::Component
Instance Method Details
#process_message(input_port, input_port_key, connection, message) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/rflow/components/replicate.rb', line 8 def (input_port, input_port_key, connection, ) out.each do |connections| begin connections. rescue Exception => e RFlow.logger.debug "#{self.class} Message caused exception: #{e.class}: #{e.}: #{e.backtrace}" errored. end end end |