You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/03/27 16:33:18 UTC

[jira] [Reopened] (AMQ-4563) Persisted messages reappear after broker restart when using amqp

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

Timothy Bish reopened AMQ-4563:
-------------------------------

      Assignee: Timothy Bish

If the sending client uses a Message ID format that can be parsed into the basic ActiveMQ message id format this bug reappears.  We need to always create our own Message Id and store off the external ID in the new instance as the TextView for later reuse.  

> Persisted messages reappear after broker restart when using amqp
> ----------------------------------------------------------------
>
>                 Key: AMQ-4563
>                 URL: https://issues.apache.org/jira/browse/AMQ-4563
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.8.0
>            Reporter: Kevin Earls
>            Assignee: Timothy Bish
>             Fix For: 5.9.0
>
>         Attachments: AMQ-4563.patch
>
>
> To reproduce this, do the following
> 1. Start a broker, create a producer using amqp, and send some messages
> 2. Stop/Start broker
> 3. Create a consumer to consume messages from step 1.
> 4. Stop/Start broker
> 5. Run consumer again.  It will receive the same messages it already received in step 3.
> I will attach a unit test which reproduces this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)