activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-4601) Redelivery counter does not behave properly when closing consumer
Date Wed, 06 Nov 2013 16:24:18 GMT

     [ https://issues.apache.org/jira/browse/AMQ-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish resolved AMQ-4601.
-------------------------------

    Resolution: Cannot Reproduce

tested against 5.9 and test works without issue.  

> Redelivery counter does not behave properly when closing consumer
> -----------------------------------------------------------------
>
>                 Key: AMQ-4601
>                 URL: https://issues.apache.org/jira/browse/AMQ-4601
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.8.0
>            Reporter: Alberto Aresca
>             Fix For: NEEDS_REVIEWED
>
>         Attachments: activemq-redelivery-issue.zip
>
>
> Attached a test case that does the following: 
> 1. Registers 4 consumers. 
> 2. Sends a message. 
> 3. When the first message is received, it does the following:
> 3.1. Unregister the listeners for the consumers. 
> 3.2. Close the consumers. 
> 3.3. Rollback the transaction. 
> 4. Consume the message from a new consumer
> After running the test called TestActiveMqRedeliveryIssue you will see in the logs (among
others things): 
> delivery count 1 
> delivery count 5 
> The first one corresponds to the first message and the second one to the message that
is consumed from the queue after the stop() procedure was called. 
> As you can see, the count increased by 4, which is the number of consumers. 
> The expected behaviour would be to have the redelivery counter set to 1 when the message
is consumed the second time



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message