lib/amqp.rb in celldee-bunny-0.1.0 vs lib/amqp.rb in celldee-bunny-0.1.1
- old
+ new
@@ -1,13 +1,17 @@
module AMQP
%w[ spec buffer protocol frame client ].each do |file|
require "amqp/#{file}"
end
- # constants
+ # return messages
CONNECTED = 'CONNECTED'
NOT_CONNECTED = 'NOT CONNECTED'
QUEUE_EMPTY = 'QUEUE EMPTY'
+ QUEUE_DELETED = 'QUEUE DELETED'
+ EXCHANGE_DELETED = 'EXCHANGE DELETED'
+ BIND_SUCCEEDED = 'BIND SUCCEEDED'
+ UNBIND_SUCCEEDED = 'UNBIND SUCCEEDED'
# specific error definitions
class ProtocolError < StandardError; end
class ServerDownError < StandardError; end
class BufferOverflowError < StandardError; end
\ No newline at end of file