Sha256: 7ad3ca5d35f5ab3b59ccda7663f9100727737b6de6e5a137f536ee53640ea200

Contents?: true

Size: 1.4 KB

Versions: 10

Compression:

Stored size: 1.4 KB

Contents

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

<pre>require "amqp"</pre>

with

<pre>
require "amqp"
require "amqp/extensions/rabbitmq"
</pre>

h3. Example of using publisher confirmations

<script src="https://gist.github.com/923599.js?file=rabbitmq_publisher_confirmations_with_amqp_gem_0.8.0.rb"></script>


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 "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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
amqp-0.8.0.rc12 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc11 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc10 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc9 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc8 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc7 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc6 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc5 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc4 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc3 docs/VendorSpecificExtensions.textile