Re: Current Connection Count for ActiveMQ broker

2014-02-02 Thread artnaseef
. decrease the delay) until performance is notably impacted, and then back off from there. From there, a great picture of the performance impact and reasonable rates is known. -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker

Re: Current Connection Count for ActiveMQ broker

2014-02-02 Thread khandelwalanuj
per minute calling will be load on the broker ? Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4677278.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Current Connection Count for ActiveMQ broker

2014-01-30 Thread artnaseef
Ah, here's that OpenTSDBWriter: https://github.com/donjohnson/jmxtrans/commit/3f709e34ed3260813f7fcf99605f97884978477d -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4677149.html Sent from the ActiveMQ -

Re: Current Connection Count for ActiveMQ broker

2014-01-30 Thread artnaseef
x27;s out there somewhere... That's my idea of a better way to go. Hope this helps. -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4677148.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Current Connection Count for ActiveMQ broker

2014-01-30 Thread khandelwalanuj
Please respond -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4677144.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Current Connection Count for ActiveMQ broker

2014-01-28 Thread khandelwalanuj
p://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676902.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread James Carman
; View this message in context: > http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676752.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread khandelwalanuj
Thanks you for the explaination -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676764.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread artnaseef
-Connection-Count-for-ActiveMQ-broker-tp4676635p4676760.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread khandelwalanuj
I have a simple requirement where I want to log current number of connections established to the ActiveMQ broker. -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676752.html Sent from the ActiveMQ - User mailing

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread James Carman
t > using > embedded broker) > > Thanks, > Anuj > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676748.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread khandelwalanuj
I am not able to understand. Will you please tell me how to get connections from JMX ? Or what is wrong with my approach (It is working fine even if I am not using embedded broker) Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread James Carman
Fire up jconsole. On Friday, January 24, 2014, khandelwalanuj wrote: > Hey, > > I don't know how to use JMX for broker. Is there any APIs of JMX I should > use ? > > > Thanks, > Anuj > > > > -- > View this message in context: > http://activemq.228

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread khandelwalanuj
: *brokerView.getTransportConnectors();* and than I can get connections per transport. Am I correct here ? Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676743.html Sent from the ActiveMQ - User mailing list archive at

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread khandelwalanuj
: *brokerView.getTransportConnectors();* and than I can get connections per transport. Am I correct here ? Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676744.html Sent from the ActiveMQ - User mailing list archive at

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread khandelwalanuj
Hey, I don't know how to use JMX for broker. Is there any APIs of JMX I should use ? Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676741.html Sent from the ActiveMQ - User mailing list archi

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread James Carman
rect me if I am wrong. > > Thanks, > Anuj > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676729.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: Current Connection Count for ActiveMQ broker

2014-01-24 Thread khandelwalanuj
broker plugin to get the current number of connections made to the broker from clients. This code is giving me the correct values. Please correct me if I am wrong. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker

Re: Current Connection Count for ActiveMQ broker

2014-01-23 Thread artnaseef
also involved). -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676726.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Current Connection Count for ActiveMQ broker

2014-01-22 Thread khandelwalanuj
is showing the correct values. I am not able to understand why did you say "embedded broker" here ? Please correct me if I ma wrong. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Current-Connection-Count-for-ActiveMQ-broker-tp4676635p4676694.ht

Re: Current Connection Count for ActiveMQ broker

2014-01-22 Thread Christian Posta
n 22, 2014 at 7:40 AM, khandelwalanuj wrote: > Hi, > > I want to know current connection count for ActiveMQ broker. I am using > below APIs for this: > --- > BrokerService brokerService =

Current Connection Count for ActiveMQ broker

2014-01-22 Thread khandelwalanuj
Hi, I want to know current connection count for ActiveMQ broker. I am using below APIs for this: --- BrokerService brokerService = getBrokerService(); connectors = brokerService.getTransportConnectors(); for (int i = 0 ; i < 3