Does anybody have any ideas?  Should this be submitted as an ActiveMQ issue? 
I can provide test cases if necessary.

Cheers



inmjs wrote:
> 
> 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-tp22056576p22148739.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to