activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SelvarajAM <selvara...@hcl.in>
Subject Re: Activemq broker hangs when stomp client disconnects unexpectedly
Date Wed, 11 Nov 2009 14:21:57 GMT

Below is the o/p of netstat 

  tcp        0      0 *:8084                      *:*                        
LISTEN
  tcp        0  92531 pri:8084                   
::ffff:10.161.:boinc-client FIN_WAIT1
  tcp        1      0 pri:48292                   pri:8084                   
ESTABLISHED
  tcp        0      0 pri:8084                   
::ffff:10.161.:availant-mgr ESTABLISHED
  tcp        0      0 pri:8084                    pri:48292                  
ESTABLISHED
  warning, got duplicate tcp line.
  warning, got duplicate tcp line.


The o/p is same both the client was fine and when it encountered error.

Can you give an example of xml configuartion on how to configure for
prefetch limit for consumer.

I tried the following. But did not work.

<transportConnector name="StompNio"
uri="stomp://0.0.0.0:8084?jms.dispatchAsync=true&amp;jms.prefetchSize=10"/>

Kindly see the jconsole for subscription attributes. 
Once the client fails, the MessageCountAwaitingAcknowledge starts
increasing.

Dont why it waits for acknowledgement. Kindly shed some light on it


http://old.nabble.com/file/p26302014/Subscription.jpg 
-- 
View this message in context: http://old.nabble.com/Activemq-broker-hangs-when-stomp-client-disconnects-unexpectedly-tp26283384p26302014.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message