Re: Same message redelivered to multiple consumers after failover

2014-03-09 Thread gregg
Don't think that is possible because I have a breakpoint in each consumer. The delivery counter information was inspected when all consumers were paused concurrently in a debug session during consumption. If I don't set a breakpoint I still get the same problem. Would have to do some more testing

can't connect to activemq

2014-03-09 Thread Li Li
I have successfully configure activemq to support jmx before. But in the new server machine, I can't get jmx working now. I follow all the instructions of http://activemq.apache.org/jmx.html 1. http://activemq.apache.org/schema/core"; useJmx="true" brokerName="localhost" dataDirectory="${activemq.

Re: how to get queue size by c++ client CMS?

2014-03-09 Thread Li Li
thanks. On Mon, Mar 10, 2014 at 9:52 AM, Timothy Bish wrote: > On 03/09/2014 09:19 PM, Li Li wrote: >> >> hi all, >> I know how to get queue size by jmx in java, but how to get it by >> c++ client? >> > Try this: > http://activemq.apache.org/statisticsplugin.html > > -- > Tim Bish > Sr Softw

how to get queue size by c++ client CMS?

2014-03-09 Thread kimmking
REST Management API From: Li Li [via ActiveMQ] Date: 2014-03-10 09:20 To: kimmking Subject: how to get queue size by c++ client CMS? hi all, I know how to get queue size by jmx in java, but how to get it by c++ client? If you reply to this email, your message will be added to the disc

Re: how to get queue size by c++ client CMS?

2014-03-09 Thread Timothy Bish
On 03/09/2014 09:19 PM, Li Li wrote: hi all, I know how to get queue size by jmx in java, but how to get it by c++ client? Try this: http://activemq.apache.org/statisticsplugin.html -- Tim Bish Sr Software Engineer | RedHat Inc. tim.b...@redhat.com | www.fusesource.com | www.redhat.com sk

how to get queue size by c++ client CMS?

2014-03-09 Thread Li Li
hi all, I know how to get queue size by jmx in java, but how to get it by c++ client?

Re: "undefined reference to" errors

2014-03-09 Thread artnaseef
Here are some things you can try. Use nm on the library to verify the needed symbol is in the lib. If so, next verify the exact, mangled name matches in the app object file and the lib. See the nm options for getting mangled and unmangled names. If they match, verify the compile is picking u

Re: activemq broker running out of heap memory

2014-03-09 Thread artnaseef
You will find a lot if issues like this. I highly recommend the use of monitoring. My current project does just that using jmxtrans, opentsdb, and metrilyx. Make sure to watch for slow consumption! Oh, and you are welcome ;-) Sent from my iPhone > On Mar 9, 2014, at 8:01 AM, "sansjunk [via

Re: activemq broker running out of heap memory

2014-03-09 Thread sansjunk
@artnaseef, thanks for the quick response - I didn't expect a reply over the weekend so didn't bother to check sooner :-) Yes, you are correct. Both the QueueSize and the PendingQueueSize of the Queues and Topics respectively are 0. The client side is JMS and looking at the code I did find the bu

"undefined reference to" errors

2014-03-09 Thread justinj656
Hi, there are some link errors when I use g++ to build my codes. To begin with, I build and install the activemq-cpp 3.8.2 following the readme.txt with default settings and everything is ok. In addtion I run "make test" and "./activemq-test-integration", all the tests are passed. Then I be