[rabbitmq-discuss] How to use AMQP inside Rails ActiveRecord to publish some messages
michael.s.klishin at gmail.com
Sun Oct 23 22:31:09 BST 2011
2011/10/23 Eki <eqbal.quran at gmail.com>
> To be more specific, lets say, I have a model called Bet, and I wanna
> trigger the event after create a record to publish something in the
> queue called test for example
You need to connect to the broker when your app boots and then use a shared
(or not) AMQP::Exchange instance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss