# @title Ruby AMQP gem: Using vendor-specific AMQP extensions h1. Vendor-specific AMQP extensions support in amqp gem h2. RabbitMQ extensions h3. Supported extensions AMQP gem supports two "RabbitMQ extensions to AMQP 0.9.1": * "Publisher confirmations":http://www.rabbitmq.com/extensions.html#confirms (confirm.* class) * "Negative acknowledgements":http://www.rabbitmq.com/extensions.html#negative-acknowledgements (basic.nack) h3. Enabling RabbitMQ extensions If you are using RabbitMQ as AMQP broker and want to use these extensions, simply replace
require "amqp"with
require "amqp" require "amqp/extensions/rabbitmq"h3. Example of using publisher confirmations h3. Documentation RabbitMQ extensions documentation is part of "amq-client gem documentation":http://rubydoc.info/github/ruby-amqp/amq-client/master/frames h2. Tell us what you think! Please take a moment and tell us what you think about this guide "on Twitter":http://twitter.com/rubyamqp or "Ruby AMQP mailing list":http://groups.google.com/group/ruby-amqp: what was unclear? what wasn't covered? maybe you don't like guide style or grammar and spelling are incorrect? Readers feedback is key to making documentation better. If mailing list communication is not an option for you for some reason, you can "contact guides author directly":mailto:michael@novemberain.com?subject=amqp%20gem%20documentation