class ActiveMessaging::Adapters::Synch::Message
Attributes
command[RW]
Public Class Methods
new(body, id, headers, destination, command='MESSAGE')
click to toggle source
# File lib/activemessaging/adapters/synch.rb, line 85 def initialize body, id, headers, destination, command='MESSAGE' # ActiveMessaging.logger.debug "Message headers:#{headers.inspect}, id:#{id}, body:#{body}, destination:#{destination}, command:#{command}" @headers, @body, @destination, @command = headers, body, destination, command headers['destination'] = destination end