You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jo Vandermeeren (JIRA)" <ji...@apache.org> on 2016/02/05 17:51:39 UTC

[jira] [Updated] (AMQ-6162) DLQ'd message does not get DLQ'd again until broker restart

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

Jo Vandermeeren updated AMQ-6162:
---------------------------------
    Attachment: AMQ6162Test.java

Unit test added

> DLQ'd message does not get DLQ'd again until broker restart
> -----------------------------------------------------------
>
>                 Key: AMQ-6162
>                 URL: https://issues.apache.org/jira/browse/AMQ-6162
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.13.0
>            Reporter: Jo Vandermeeren
>         Attachments: AMQ6162Test.java
>
>
> Given the following setup: Q1 -> DLQ1 (dead letter for Q1) -> DLQ2 (dead letter for Q2).
> Sessions are transacted.
> 1. Send message to Q1
> 2. Consume Q1 and rollback
> 3. Message is DLQ'd to DLQ1
> 4. Consume DLQ1 and rollback
> 5. Message is DLQ'd to DLQ2
> 6. Move message via JMX from DLQ2 to Q1 (QueueViewMBean.moveMessageTo())
> 7. Consume Q1 and rollback
> 8. DLQ1 stays empty, message seems lost
> If you restart the broker between step 5 and step 6, the message does get DLQ'd to DLQ1 again.



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