activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sree Panchajanyam D (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5797) Consumers Using spring DefaultMessageListener Container cannot sometimes consume messages during failover/restart of ActiveMQ
Date Tue, 26 May 2015 07:11:17 GMT
Sree Panchajanyam D created AMQ-5797:
----------------------------------------

             Summary: Consumers Using spring DefaultMessageListener Container cannot sometimes
consume messages during failover/restart of ActiveMQ
                 Key: AMQ-5797
                 URL: https://issues.apache.org/jira/browse/AMQ-5797
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMS client
    Affects Versions: 5.11.1, 5.11.0, 5.10.0, 5.6.0
         Environment: RHEL 5.9, spring-jms, physical nodes
            Reporter: Sree Panchajanyam D


This is reproducible but not with a Unit Test case.
Steps to reproduce:
1. use the following broker url tcp://localhost:61616?randomize=false&timeout=60000
// timeout is the most important part.
2. Use spring Default Message listener container for consuming messages.
3. Start the consumer application.
4. wait for 70 seconds and start ActiveMQ.
5. Consumers would be stuck - Issue would be reproduced
Note: This issue does not happen if ActiveMQ is started after 120 seconds. That is after the
second connection timeout. Issue can be reproduced with varying timeout values if AMQ is started
before the second timeout but after the first timeout. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message