Method: RFlow::Components::RubyProcFilter#process_message
- Defined in:
- lib/rflow/components/ruby_proc_filter.rb
#process_message(input_port, input_port_key, connection, message) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/rflow/components/ruby_proc_filter.rb', line 13 def (input_port, input_port_key, connection, ) begin if @filter_proc.call() filtered. else dropped. end rescue Exception => e RFlow.logger.debug "#{self.class} Message caused exception: #{e.class}: #{e.}: #{e.backtrace}" errored. end end |