Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't clobber client properties, such as capabilities, from amq-clien…

…t that we are not explicitly setting.
  • Loading branch information...
commit 5b87935e926880dae9be3498a57554aa09e907dc 1 parent f9cc833
@eliaslevy eliaslevy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/amqp/session.rb
View
4 lib/amqp/session.rb
@@ -39,12 +39,12 @@ class Session < AMQ::Client::EventMachineClient
def initialize(*args, &block)
super(*args, &block)
- @client_properties = {
+ @client_properties.merge!({
:platform => ::RUBY_DESCRIPTION,
:product => "AMQP gem",
:information => "http://github.com/ruby-amqp/amqp",
:version => AMQP::VERSION
- }
+ })
end # initialize(*args, &block)
# @return [Boolean] true if this AMQP connection is currently open
Please sign in to comment.
Something went wrong with that request. Please try again.