[
https://issues.apache.org/jira/browse/ARTEMIS-3309?focusedWorklogId=601226&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-601226
]
ASF GitHub Bot logged work on ARTEMIS-3309:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/May/21 15:12
Start Date: 24/May/21 15:12
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on a change in pull request
#3590:
URL: https://github.com/apache/activemq-artemis/pull/3590#discussion_r638039922
##########
File path:
artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/messages/Transfer.java
##########
@@ -105,10 +105,207 @@
@Option(name = "--target-topic", description = "Destination to be used. It
can be prefixed with queue:// or topic:// and can be an FQQN in the form of
<address>::<queue>. (Default: queue://TEST)")
String targetTopic;
- boolean isCopy() {
+ @Option(name = "--max-count", description = "The maximum number of messages
to transfer.")
Review comment:
Seems pretty much the same to me.
./artemis consumer --message-count means.. the name of messages to consume...
While
./artemis transfer --message-count would mean the maximum number of messages
to transfer.
it would keep CLI clean. things would get easier to remember when you move
from one tool to another.
--
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: 601226)
Time Spent: 40m (was: 0.5h)
> Add a parameter to limit messages to move or transfer
> -----------------------------------------------------
>
> Key: ARTEMIS-3309
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3309
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Domenico Francesco Bruscino
> Assignee: Domenico Francesco Bruscino
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Create a moveMessages operation to allow a user to only move X number of
> messages to another queue.
> Add a parameter to the transfer CLI command to limit the messages to transfer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)