Ruby RabbitMQ clients blog

News and updates about various Ruby clients for RabbitMQ

Amqp Gem 1.4.0 Is Released

TL;DR

amqp gem 1.4.0 is released to rubygems.org.

This release includes a minor feature.

Changes Between 1.3.x and 1.4.0

connection.blocked Support

connection.blocked notifications are now correctly supported by the library:

1
2
3
4
5
6
7
8
9
10
11
EventMachine.run do
  connection = AMQP.connect(:host => '127.0.0.1')

  connection.on_blocked do |conn, conn_blocked|
    puts "Connection blocked, reason: #{conn_blocked.reason}"
  end

  connection.on_unblocked do |conn, _|
    puts "Connection unblocked"
  end
end

Full Change Log

Full change log can be found on GitHub.

About the Author

Michael on behalf of the Ruby RabbitMQ Clients Team