Re: Message Dequeue count in jconsole 0 even after messages are recieved and consumed by subscribers

2014-01-06 Thread xabhi
Thanks for reply artnassef. My question is Why dequeue count for a topic is not zero in cases where I have non-durable subscribers whereas it is zero if my topic has only durable subscriber. Can anyone explain this behavior? -- View this message in context:

Re: Request-Response in ActiveMQ

2014-01-06 Thread khandelwalanuj
Using Synchronous communication what is the overhead on broker using selectors ? Please respond. Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Request-Response-in-ActiveMQ-tp4675769p4676033.html Sent from the ActiveMQ - User mailing list archive at

REST Api - Working With Messages

2014-01-06 Thread darrenw2112
Hi, I was looking through the docs for the Rest API, and I do not see a way to list/delete a message (the lowest access I saw was for an entire queue). I would like to create something similar to the AcitveMQBrowser that would work with Apollo. Am I just missing something? Thanks you, Darren

'Stuck' Messages on queue

2014-01-06 Thread WhitestarB5
We have a queue which contains Json Messages. They do not tend to be large messages. We are experiencing an odd behaviour where messages will only be consumed very slowly and fitfully. The messages that are consumed are not always those at the top of the queue. The 'stuck' messages are however

Re: How to Configure failover for Active MQ 5.9

2014-01-06 Thread cjiang
You can configure this failover uri for the pooled connection factory in the client side. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-Configure-failover-for-Active-MQ-5-9-tp4675962p4676050.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ 5.9.0 Hawtio Slow

2014-01-06 Thread kraythe
I downloaded ActiveMQ 5.9.0 with Hawtio (in research to ugrade from 5.8.0) and I am experiencing such slowness in the console that it is unusable. Any click takes up to a second for a reply. Any idea what I have configured wrong? Or is it just not ready for prime time? Thanks in advance. --

Re: Request-Response in ActiveMQ

2014-01-06 Thread cjiang
We use Apache camel with activemq, in which there is reply-response pattern built in. Please check this url: http://camel.apache.org/request-reply.html -- View this message in context: http://activemq.2283324.n4.nabble.com/Request-Response-in-ActiveMQ-tp4675769p4676051.html Sent from the

Re: Hung ActiveMQ broker and processes are blocking

2014-01-06 Thread artnaseef
Have you checked the memory use of the process? Use a JMX client (such as jconsole or visualvm) to watch the memory use on the broker until it freezes. Watch permgen space and heap space especially. High connection counts point to a possible permgen space issue. Most commonly the entire broker

Connection being made, but not registering as a Consumer of any queues

2014-01-06 Thread DerekSweet
Hello. We recently moved our application to a new server and are trying to get an activemq poller script to run there but for some reason it just isn't working properly. When I start the poller script on the old server I can see it show up in the Connections menu, and when I click the connection

Re: ActiveMQ broker 5.9 doesn't close TCP connection if qpid client close amqp connection

2014-01-06 Thread uromahn
As promised in my last post, I re-tested this using the latest SNAPSHOT versions of all involved components. I built ActiveMQ 5.10-SNAPSHOT from source with qpid-proton-j-0.6-SNAPSHOT and the latest amqp-1-0-client-jms-0.26-SNAPSHOT (or 0.28-SNAPSHOT, depending on how one builds it). The result

Re: ActiveMQ broker 5.9 doesn't close TCP connection if qpid client close amqp connection

2014-01-06 Thread tabish...@gmail.com
I created a test case that shows the issue and opened a new Jira issue to track the progress. https://issues.apache.org/jira/browse/AMQ-4962 -- View this message in context:

Re: ActiveMQ broker 5.9 doesn't close TCP connection if qpid client close amqp connection

2014-01-06 Thread tabish...@gmail.com
This is now fixed on trunk, use the latest 0.26-SNAPSHOT of QPid client for best results. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-broker-5-9-doesn-t-close-TCP-connection-if-qpid-client-close-amqp-connection-tp4675756p4676063.html Sent from the ActiveMQ

Re: Request-Response in ActiveMQ

2014-01-06 Thread artnaseef
It's also possible to use temporary destionations for request/reply. Have the requestor create a temporary queue and set that as the JMSReplyTo of the message before sending to the server that will send back the reply. Then the server replies to the JMSReplyTo address on the message. When using

Re: remove DLQ message

2014-01-06 Thread artnaseef
setJMSExpiration() uses a JMS-provider-specific value. For ActiveMQ, that's the time of expiration in millis. Try this instead: messageReference.getMessage().setExpiration(System.currentTimeMillis() + 60*60*1000); -- View this message in context:

Re: Hung ActiveMQ broker and processes are blocking

2014-01-06 Thread khandelwalanuj
I checked the usage and also increased the heap size for my broker. But will you please let me know about enabling permgen space garbage collection. How to do it and are there any side effects after this ? Thanks, Anuj -- View this message in context:

Re: Hung ActiveMQ broker and processes are blocking

2014-01-06 Thread khandelwalanuj
One more thing. While my broker was hung, my total used heap is exceeded max heap size. I don;t understand why ? I calculated heap using JMAP -heap PID command. where: used heap size = used (PS Old Generation) + used(Eden Space) how can this value be more than maxHeapSpace ? Thanks, Anuj