Buchi Reddy B created AMQ-3816:
----------------------------------

             Summary: Broker does not retain messages for a STOMP durable 
consumer if the broker restarts while the consumer was running
                 Key: AMQ-3816
                 URL: https://issues.apache.org/jira/browse/AMQ-3816
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, stomp
    Affects Versions: 5.5.1
         Environment: Perl STOMP clients on UNIX OS.
            Reporter: Buchi Reddy B


We have noticed that the broker does not deliver some messages to a durable 
consumer in the following scenario.

1/ Start ActiveMQ broker, Perl STOMP producer on topics with persistence and 
Perl STOMP consumer with durable topics.
2/ Kill the broker while the consumer and producer are running.
3/ Kill the consumer. We have kept the producer running all these while.
4/ Restart the broker and producer will connect to it and continue to send the 
messages.
5/ Restart the consumer. We have noticed that the consumer was missing big 
chunk of messages sent be the producer earlier.

I have enabled TRACE level logging for the broker and checked that the broker 
is recovering the durable subscription information from the kaha db logs when 
it restarts and marks the durable consumer as inactive durable subscription. 
However, broker does not seem to retain the messages for this durable consumer 
all this while.

Please let me know if we have any configurations on the broker/client side to 
avoid these kind of issues.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to