forked from ruby-amqp/amqp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mention RabbitMQ extensions [to AMQP 0.9.1] support
- Loading branch information
1 parent
d7fe159
commit 67c476a
Showing
5 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
--protected | ||
--markup="textile" lib/**/*.rb | ||
- | ||
LICENSE | ||
LICENSE | ||
docs/*.textile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters