lib/amq/client/settings.rb in amq-client-1.0.0.pre2 vs lib/amq/client/settings.rb in amq-client-1.0.0

- old
+ new

@@ -21,13 +21,14 @@ # server :host => "127.0.0.1", :port => AMQ::Protocol::DEFAULT_PORT, # login - :user => "guest", - :pass => "guest", - :vhost => "/", + :user => "guest", + :pass => "guest", + :auth_mechanism => "PLAIN", + :vhost => "/", # connection timeout :timeout => nil, # logging @@ -49,10 +50,10 @@ :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