Sha256: 1a467327ad68c4138cffe67a3e75c7b0617961b88b4c9b6af91da56cbd9bbf05

Contents?: true

Size: 918 Bytes

Versions: 4

Compression:

Stored size: 918 Bytes

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
amqp-0.8.0.rc2 docs/VendorSpecificExtensions.textile
amqp-0.8.0.rc1 docs/VendorSpecificExtensions.textile
amqp-0.8.0.pre.beta1 docs/VendorSpecificExtensions.textile
amqp-0.8.0.beta1 docs/VendorSpecificExtensions.textile