Sha256: e9f2e3e89cc516dee4778764b09fff8a27c741499d035e8440424a93955c15da

Contents?: true

Size: 275 Bytes

Versions: 34

Compression:

Stored size: 275 Bytes

Contents

module Messaging
  module Routing
    class EnqueueMessageHandler
      attr_reader :handler

      def initialize(handler)
        @handler = handler
      end

      def call(message)
        Config.background_job_handler.call(message, handler)
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
messaging-4.0.12 lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.11 lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.10 lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.10.pre lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.9 lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.8 lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.7 lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.6 lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.5 lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.4.pre lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.3.pre lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.2.pre lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.1.pre lib/messaging/routing/enqueue_message_handler.rb
messaging-4.0.0.pre lib/messaging/routing/enqueue_message_handler.rb
messaging-3.8.2 lib/messaging/routing/enqueue_message_handler.rb
messaging-3.8.1 lib/messaging/routing/enqueue_message_handler.rb
messaging-3.8.0 lib/messaging/routing/enqueue_message_handler.rb
messaging-3.7.3 lib/messaging/routing/enqueue_message_handler.rb
messaging-3.7.2 lib/messaging/routing/enqueue_message_handler.rb
messaging-3.7.1 lib/messaging/routing/enqueue_message_handler.rb