Class | Qrack::Client |
In: |
lib/qrack/client.rb
|
Parent: | Object |
Client ancestor class
CONNECT_TIMEOUT | = | 5.0 |
RETRY_DELAY | = | 10.0 |
__opts__ | [R] | Temporary hack to make Bunny 0.7 work with port number in AMQP URL. This is not necessary on Bunny 0.8 as it removes support of AMQP 0.8. |
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] |
@param [Hash] opts Options. @option opts [Numeric] :timeout (0.1) The method will wait for a return message until this timeout interval is reached. @return [Hash] @{: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}@.