summaryrefslogtreecommitdiff
path: root/qpid/ruby
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-02-24 14:15:28 +0000
committerTed Ross <tross@apache.org>2009-02-24 14:15:28 +0000
commit043cfb51401c11dbe9a9db7c07580f3ff84efb3b (patch)
treebf265ab71177abf6184750bb610cb5009fe12671 /qpid/ruby
parent37d3f0675c0b7f6052c14d104a6b03e78b86965a (diff)
downloadqpid-python-043cfb51401c11dbe9a9db7c07580f3ff84efb3b.tar.gz
QPID-1676 - Added client process name and pid to connection object for management.
Supported in C++, Python, and Ruby clients. Still needs to be added to the Java clients. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/ruby')
-rw-r--r--qpid/ruby/lib/qpid/delegates.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/ruby/lib/qpid/delegates.rb b/qpid/ruby/lib/qpid/delegates.rb
index 9707cdbc76..171f310e48 100644
--- a/qpid/ruby/lib/qpid/delegates.rb
+++ b/qpid/ruby/lib/qpid/delegates.rb
@@ -168,7 +168,10 @@ module Qpid
# analog in Ruby
PROPERTIES = {"product" => "qpid python client",
"version" => "development",
- "platform" => Config::CONFIG["build_os"]}
+ "platform" => Config::CONFIG["build_os"],
+ "qpid.client_process" => File.basename($0),
+ "qpid.client_pid" => Process.pid,
+ "qpid.client_ppid" => Process.ppid}
def initialize(connection, args)