Module: Message
- Defined in:
- lib/warren/message.rb
Overview
Namespace to collect message formats A Warren compatible message must implement: routing_key: returns the routing_key for the message payload: returns the message payload headers: Returns a headers hash
Additionally, if you wish to use the Message with the ActiveRecord helpers, then the initialize should take the ActiveRecord::Base object as a single argument