thanks  now i have change the class and keep the broker and session, but
there have a problem how to close and disconnection the session. in my class
i have add this function.  but we close my class it show me 
----------------------------------------------
Elapsed time = 159 usec
2009-oct-14 14:26:45 warning Session was not closed cleanly
Invalid argument
*** glibc detected *** ./TestQpidControl: double free or corruption
(fasttop): 0xb5341cb8 ***
TestQpidControl: /usr/local/include/qpid/sys/posix/Mutex.h:116: void
qpid::sys::Mutex::lock(): Assertion `0' failed.
======= Backtrace: =========
Aborted
----------------------------------------------------------------

QueueInfo::~QueueInfo()
{
        Close();
        delete listener;
        delete broker;
        delete sm;
}


-- 
View this message in context: 
http://n2.nabble.com/using-qmf-console-API-get-Queue-info-data-speed-much-time-latency-4-s-tp3819052p3825036.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to