Re: High number of Kahadb files

2019-06-25 Thread cooshal
Hi, thank you for this explanation and for the link containing further explanation. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

High number of Kahadb files

2019-06-25 Thread cooshal
en-queued messages are being processed successfully (slowly but yes). Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-25 Thread cooshal
right now. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-25 Thread cooshal
gards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-25 Thread cooshal
Hi again: so, does that also mean that my broker will be able to fetch upto 4000 messages at a time? If so, I guess I will run out of connections, right? Or, will that be managed by ActiveMQ? I will try to play with these settings and get back. Regards, Cooshal. -- Sent from: http://activemq

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-25 Thread cooshal
Hi: ahh ok. then that was caused by optimizedDispatch, right? Thanks for the clarification. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-24 Thread cooshal
be because of this config, that this issue came up? Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Optimize broker settings for scaling

2019-06-24 Thread cooshal
onments as: My query is, does this setting help improve the broker performance (or doesn't change) or make even worse? Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-21 Thread cooshal
http://www.springframework.org/schema/beans"; class="org.apache.activemq.hooks.SpringContextHook" /> Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-20 Thread cooshal
speculation). Also, I was not able to connect the JMX from Java. I will try this again. Thank you for pointing this out. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-19 Thread cooshal
Hi: thank you for the clarification. Is there a way to retrieve the queue stats? I wanted to retrieve the number of messages, pending messages, etc. similar to those shown in activemq console. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

JMS QueueBrowser does not return actual number of messages in the queue

2019-06-19 Thread cooshal
triesCount++; } But, this does not retrieve messages more than 400. I knew that this was a problem with the Jolokia API of ActiveMQ. But, I did not realize that there was similar limitation with JMS API as well. Is there a way to retrieve all the messages via JMS API? Regards, Cooshal. -- Sent f

Re: Too Many TCP Connections, ultimately causing the connections to be dropped by the broker

2019-06-12 Thread cooshal
, but restarting everything (which I did yesterday as well :D) resolved this issue. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Too Many TCP Connections, ultimately causing the connections to be dropped by the broker

2019-06-12 Thread cooshal
/Sporadic-quot-Error-while-attempting-to-add-new-Connection-to-the-pool-nested-exception-is-javax-jms-td4741737.html). I will look further to check if I might have misconfigured something. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Too Many TCP Connections, ultimately causing the connections to be dropped by the broker

2019-06-11 Thread cooshal
much on this issue. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Too Many TCP Connections, ultimately causing the connections to be dropped by the broker

2019-06-11 Thread cooshal
Hi: thank you for your reply. I will inspect those number and post back. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Too Many TCP Connections, ultimately causing the connections to be dropped by the broker

2019-06-11 Thread cooshal
ters on this would be very helpful. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Sporadic "Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.BindExcepti

2019-06-07 Thread cooshal
Hi again: I looked futher into this issue. It is strange that, something seems to be wrong with my camel route bundles. Initially, I was not able to replicate this issue on a different system. Then, I used my camel routes bundle that was built 2 weeks ago. And, now I see plenty of connections. I

Re: Sporadic "Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.BindExcepti

2019-06-05 Thread cooshal
Hi: I just tried netstat, and I see majority of the connections as "TIME_WAIT". And, there are a lot of connections. Thank you for the pointers. I will dig further and post back later. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Sporadic "Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.BindExcepti

2019-06-03 Thread cooshal
is issue. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Sporadic "Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.BindExcepti

2019-05-28 Thread cooshal
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_6 mvn:org.apache.activemq/activemq-osgi/${activeMQ.version} Did I do something wrong here ? Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Sporadic "Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.BindExcepti

2019-05-28 Thread cooshal
, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

RE: Invoking JMS API with JMS 2.0, ActiveMQ and osgi (karaf)

2019-04-17 Thread cooshal
I just had a quick look at QPID JMS example. Also, I tried out a simple example to browse an ActiveMQ queue. I am not able to get the intended result. I am getting an empty enumerator. Could be possible that I might have misconfigured something. Thank you for suggesting this alternative. I need to

Invoking JMS API with JMS 2.0, ActiveMQ and osgi (karaf)

2019-04-17 Thread cooshal
I have a scenario where I cannot switch to Artemis right now. And following up with several posts, I understood that it gets tricky for ActiveMQ to communicate with JMS 2.0. Because of some limitations in Jolokia api (http://activemq.2283324.n4.nabble.com/Is-it-possible-to-retrieve-more-than-400-m

Re: Is it possible to retrieve more than 400 messages from ActiveMQ queue via Jolokia API?

2019-04-16 Thread cooshal
Thank you @gtully for your reply. Artemis seems to make life easier. Unfortunately, I cannot switch to Artemis at the moment. Thus, I switched my implementation to fetch these information using JMS API and that works pretty well (tested via a normal Java application) , but then again came up the

Is it possible to retrieve more than 400 messages from ActiveMQ queue via Jolokia API?

2019-04-16 Thread cooshal
I have a custom error queue in ActiveMQ, which is populated by Apache Camel's onException(..) error handler. There can be thousands of messages in this queue. Instead of using the ActiveMQ web console, I am building a custom web admin to integrate several other statistics from other components as