Re: ActiveMQ-CPP: memory leak with persistent sendings?

2010-03-16 Thread ironrooster
e was a problem with the LabVIEW system. Thanks again for your quick response. Timothy Bish wrote: > > On Thu, 2010-03-11 at 18:44 -0800, ironrooster wrote: >> Hi, >>I'm having a similar issue: using activeme-cpp 3.1.1, there is a large >> memory leak when sen

Re: ActiveMQ-CPP: memory leak with persistent sendings?

2010-03-11 Thread ironrooster
Hi, I'm having a similar issue: using activeme-cpp 3.1.1, there is a large memory leak when sending text messages. Here's a code snippet: Here's the setup in my run method: { // Create a ConnectionFactory auto_ptr connectionFactory( ConnectionFactory::createCMSCo

how to get topicName from within onMessage()

2010-01-14 Thread ironrooster
Hi all, I am an ActiveMQ newbie who has managed to get a consumer/producer system working using topics. I would like to know which topic has sent a particular message, but I can't figure out how to do it. Perhaps someone will have mercy on this problem and shoot it, like an injured horse. T