Re: Statistics plugin is reporting averageMessageSize as 0

2016-12-04 Thread Robert Huffman
Sorry, I should have replied about this already. I found the problem in the plugin code and submitted a defect. Gary Tully fixed it already. https://issues.apache.org/jira/browse/AMQ-6518 On Sun, Dec 4, 2016 at 7:43 AM, Tim Bain wrote: > If you haven't already, please submit a bug report in

Re: Queue consumer stuck after failover reconnect to broker that had been restarted

2016-12-04 Thread Tim Bain
This sounds like a bug; you shouldn't have to do anything special to reconnect a consumer via the failover transport. Does the consumer reconnect successfully with the default prefetch size? On Nov 16, 2016 9:47 AM, "Spidim" wrote: I have setup a simple job queue using ActiveMQ and JMS in Java

Re: How to restrict queue deletion or purging in ActiveMQ 5.11.0?

2016-12-04 Thread Tim Bain
If you submit an enhancement request in JIRA, this operation could be controlled by the admin role in a future version. On Nov 16, 2016 9:54 PM, "Moron" wrote: > I am wondering how could we restrict users from deleting a queue in > Activemq. > I am using simpleAuthenticationPlugin and authorizat

Re: Statistics plugin is reporting averageMessageSize as 0

2016-12-04 Thread Tim Bain
If you haven't already, please submit a bug report in JIRA. On Nov 24, 2016 3:52 PM, "rth" wrote: > Yes, it looks like a bug. The StatisticsBroker, on line 123, invokes > stats.getMessageSize().getAveragePerSecond() instead of getAverageSize(). > getAveragePerSecond divides 1000 by the result of

Re: Possible loop after enabling DEBUG?

2016-12-04 Thread Tim Bain
Can you run jstack to see if you are indeed in an infinite loop? Also, can you confirm that everything worked correctly before you enabled DEBUG? Also, can you please describe the symptoms that led you to say "webconsole does not start"? On Dec 2, 2016 2:46 AM, "mf" wrote: > Hi, > I'm trying t

Re: Network of brokers: consumers not synchronized

2016-12-04 Thread Tim Bain
So I was thinking about something more like netstat, to answer the question at the TCP layer. I've never used Karaf, but the documentation doesn't seem to provide a way to do that from within the container, but at a minimum you can run netstat on the host on which Karaf is running. I'm wondering w

Re: Problem of shutting down ActiveMQ client with failover transport running in java container (Karaf)

2016-12-04 Thread Tim Bain
Can you please submit a bug in JIRA for this? I imagine this is a problem in lots of places in the codebase, so please suggest a comprehensive look at the full codebase in addition to adjusting the one catch block you referenced. Also, you're better off passing the inner exception via the two-arg