[
https://issues.apache.org/jira/browse/ARTEMIS-5097?focusedWorklogId=937498&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-937498
]
ASF GitHub Bot logged work on ARTEMIS-5097:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 10/Oct/24 22:26
Start Date: 10/Oct/24 22:26
Worklog Time Spent: 10m
Work Description: jbertram commented on code in PR #5290:
URL: https://github.com/apache/activemq-artemis/pull/5290#discussion_r1796164803
##########
artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/xml/XmlDataExporter.java:
##########
@@ -80,6 +80,12 @@ public final class XmlDataExporter extends DBOption {
private XMLStreamWriter xmlWriter;
+ private Throwable lastError;
+
+ // I am creating a hidden feature now, in case users ever ask to expose
this, it would be already here.
+ @Option(names = "undefined-prefix", hidden = true, description = "In case a
queue does not exist, this will define the prefix to be used on the message
export.")
Review Comment:
Why make it hidden? Seems like a nice feature that users would appreciate.
Issue Time Tracking
-------------------
Worklog Id: (was: 937498)
Time Spent: 20m (was: 10m)
> ./artemis data exp | imp should deal with deleted queues
> --------------------------------------------------------
>
> Key: ARTEMIS-5097
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5097
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.37.0
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.38.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> say you delete a queue, the ./artemis data exp (Export tool) and Import tool
> should be able to deal with undefined queues.
> The use case here comes from an user who deleted the queue by accident and
> their data went to be removed after a restart of the broker.
> ./artemis data recover would be able to recover the information but the
> export would fail.
> With this modification these tools would be able to deal with undefined
> queues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact