Class: MiniCamel::Processor::Produce

Inherits:
Base
  • Object
show all
Defined in:
lib/mini_camel/processor/produce.rb

Instance Method Summary collapse

Instance Method Details

#call(exchange) ⇒ Object



10
11
12
# File 'lib/mini_camel/processor/produce.rb', line 10

def call(exchange)
  exchange.update_context(field => with_class.new.call)
end