[ 
https://issues.apache.org/jira/browse/ARTEMIS-3313?focusedWorklogId=610854&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-610854
 ]

ASF GitHub Bot logged work on ARTEMIS-3313:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Jun/21 19:10
            Start Date: 14/Jun/21 19:10
    Worklog Time Spent: 10m 
      Work Description: AntonRoskvist commented on pull request #3621:
URL: https://github.com/apache/activemq-artemis/pull/3621#issuecomment-860925759


   Yes, this only fixes the import. I should clarify the Jira, because these 
issues seem to be unrelated, at least as far as I can tell....
   The first issue, which this PR is for, are messages "lost" when running an 
export/import. The messages are still in the export file but are destined for 
an address which have no queues of the same RoutingType as the messages have.
   
   The other issue is unaffected by RoutingType and instead have to do with 
auto-deleted queues. When running auto-created resources for DLA messages and 
the original queue gets auto-removed, then retrying those messages sends them 
to nowhere. This issue also needs to be addressed I think but is not in scope 
for this PR (I don't think). Jira mentions them both because I ran into them at 
the same time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 610854)
    Time Spent: 0.5h  (was: 20m)

> DLA messages disapear when running retry or export/import
> ---------------------------------------------------------
>
>                 Key: ARTEMIS-3313
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3313
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.16.0, 2.17.0
>            Reporter: Anton Roskvist
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> DLQ messages disapear when running retry or export/import
> This only seem to happen on dead letter queues where dead-letter resources 
> are created automatically
> When running debug logging the following shows up for every message during 
> retry or import:
> DEBUG [org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl] 
> Message CoreMessage[MESSAGE] is not going anywhere as it didn't have a 
> binding on address:QUEUENAME
> All other queue information gets imported though, down to the dead letter 
> filter. Just not the messages.
>  
> This seems to be reproducible by simply:
>  - configuring "auto-create-dead-letter-resources"
>  - sending a message to an ANYCAST queue
>  - sending that message to DLA
>  - run the "export" tool
>  - Get a fresh/empty journal 
>  - import the data export



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to