activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inmjs <matt...@insiris.com>
Subject Pending messages when producing/consuming on same topic
Date Tue, 17 Feb 2009 12:46:29 GMT

Hi

I am having a problem when producing and consuming on the same topic.  It is
a strange set of circumstances that produces this problem.  

I have a client which is a durable subscriber to a topic "X", and, on a
separate connection, a producer for the same topic.  The durable
subscription has a selector "JMSType = 'Foo'". When the subscriber receives
a 'Foo' it produces a JMS 'Bar' to same same topic.  This works fine when
the client is running. However, if i stop and then restart my client, in the
ActiveMQ web console, the durable subscription's Pending Queue Size is equal
to 1.  In fact, the Pending Queue size is equal to however many messages the
client produced last time it was running.  There is no way to clear this
pending queue size, other than deleting the AMQ data directory and
restarting the broker.

Does anyone have any suggestions?

Thanks
-- 
View this message in context: http://www.nabble.com/Pending-messages-when-producing-consuming-on-same-topic-tp22056576p22056576.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message