From 1b3a5d652c92cf5b091964110f4ba1251acbf9f4 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 24 Feb 2009 14:15:28 +0000 Subject: 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/qpid@747389 13f79535-47bb-0310-9956-ffa450edef68 --- ruby/lib/qpid/delegates.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ruby') diff --git a/ruby/lib/qpid/delegates.rb b/ruby/lib/qpid/delegates.rb index 9707cdbc76..171f310e48 100644 --- a/ruby/lib/qpid/delegates.rb +++ b/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) -- cgit v1.2.1