Running the Rails application on a Mac. I start the rabbit mq server on another tab of the terminal:
$ rabbitmq-server
I work in my web application, and when mail is sent, I received it in / usr / local / var / log / rabbitmq / rabbit@localhost-sasl.log
= INFORMATION REPORT ==== 21-Apr-2015 :: 23: 02: 47 ===
receiving an AMQP connection <0.4286.0> (127.0.0.1:57509 → 127.0.0.1ל672)
= REPORT ERROR ==== 21-Apr-2015 :: 23: 02: 50 ===
closing the AMQP connection <0.4286.0> (127.0.0.1:57509 → 127.0.0.1∗672): {Heartbeat_timeout, running}
Notes:
I left the whole rabbitmq configuration by default, in this I mean mailer.rb:
:heartbeat => 10
The same configuration works fine on Ubuntu.
source share