Sha256: 86f45c1494b7dbc843e0552cc3ba4eb9e4f1a1b3dff2316ca847b7d8357b8966

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

module MiniCamel
  module Processor
    class Pipeline < Base

      values do
        attribute :routes, [Symbol]
      end

      def call(exchange)
        routes.each do |route|
          env.call_route(route, exchange)
        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/pipeline.rb