Class: Eventoverse::AmqpReporterMri
- Inherits:
-
BaseReporter
- Object
- BaseReporter
- Eventoverse::AmqpReporterMri
- Defined in:
- lib/eventoverse/amqp_reporter_mri.rb
Instance Method Summary collapse
Methods inherited from BaseReporter
#publish_exception, publish_message, #publish_message
Instance Method Details
#backend_publish_message(payload) ⇒ Object
API
12 13 14 15 |
# File 'lib/eventoverse/amqp_reporter_mri.rb', line 12 def (payload) body = MultiJson.encode(payload) exchange.publish(body, :routing_key => "", :persistent => true) end |