lib/amq/client/settings.rb in amq-client-0.9.12 vs lib/amq/client/settings.rb in amq-client-1.0.0.pre1
- old
+ new
@@ -21,14 +21,13 @@
# server
:host => "127.0.0.1",
:port => AMQ::Protocol::DEFAULT_PORT,
# login
- :user => "guest",
- :pass => "guest",
- :auth_mechanism => "PLAIN",
- :vhost => "/",
+ :user => "guest",
+ :pass => "guest",
+ :vhost => "/",
# connection timeout
:timeout => nil,
# logging
@@ -39,21 +38,20 @@
# broker
# if you want to load broker-specific extensions
:broker => nil,
- :frame_max => 131072,
- :heartbeat => 0
+ :frame_max => 131072
}
end
CLIENT_PROPERTIES = {
:platform => ::RUBY_DESCRIPTION,
:product => "AMQ Client",
:information => "http://github.com/ruby-amqp/amq-client",
:version => AMQ::Client::VERSION
}
-
+
def self.client_properties
@client_properties ||= CLIENT_PROPERTIES
end