Class | Qrack::Client |
In: |
lib/qrack/client.rb
|
Parent: | Object |
Client ancestor class
CONNECT_TIMEOUT | = | 5.0 |
RETRY_DELAY | = | 10.0 |
channel | [RW] | |
channels | [RW] | |
connecting | [RW] | |
exchanges | [RW] | |
heartbeat | [R] | |
host | [R] | |
logfile | [RW] | |
logging | [R] | |
message_in | [RW] | |
message_out | [RW] | |
port | [R] | |
queues | [RW] | |
spec | [R] | |
status | [R] | |
vhost | [R] |
Checks to see whether or not an undeliverable message has been returned as a result of a publish with the :immediate or :mandatory options.
{:header => nil, :payload => :no_return, :return_details => nil} if message is not returned before timeout. {:header, :return_details, :payload} if message is returned. :return_details is a hash {:reply_code, :reply_text, :exchange, :routing_key}.