Method: Messaging::Routing#handle

Defined in:
lib/messaging/routing.rb

#handle(message) ⇒ Object

Internal: Handles the message with the matching subscribers



47
48
49
50
# File 'lib/messaging/routing.rb', line 47

def handle(message)
  routes.map { |route| route.call(message) }
  message
end