Sha256: b8b6f1391f863ee52d5765f02278152f49007de2e56a4b693d3684d1c22a83a3
Contents?: true
Size: 369 Bytes
Versions: 1
Compression:
Stored size: 369 Bytes
Contents
module MiniCamel module Processor class ProcessEach < Each def call(exchange) additional_data = fetch_additional_data(exchange) # The use of map is no coincidence! (will be used as result in TransformEach) fetch_collection(exchange).map do |entry| process(entry, additional_data) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mini_camel-0.5.8 | lib/mini_camel/processor/process_each.rb |