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

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

                Author: ASF GitHub Bot
            Created on: 14/Mar/24 17:48
            Start Date: 14/Mar/24 17:48
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on code in PR #4855:
URL: https://github.com/apache/activemq-artemis/pull/4855#discussion_r1525285537


##########
artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/xml/XmlDataImporter.java:
##########
@@ -90,10 +91,12 @@ public final class XmlDataImporter extends ActionAbstract {
    private ClientSession session;
    private ClientProducer producer;
 
-   @Option(names = "--host", description = "The host used to import the data. 
Default: localhost.")
-   public String host = "localhost";
+   @Deprecated(forRemoval = true)
+   @Option(names = "--host", description = "The host used to import the data. 
Default: null. Deprecated! Use 'url' instead.")

Review Comment:
   I added `hidden = true`, but I left `@Deprecated` so that we will remember 
to remove it at the next major version.





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

    Worklog Id:     (was: 909955)
    Time Spent: 40m  (was: 0.5h)

> Import command should accept URL
> --------------------------------
>
>                 Key: ARTEMIS-4689
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4689
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently the import command only takes host & port with regard to its 
> connection to the broker. It should take a URL instead so that the connection 
> can be configured appropriately for more use-cases (e.g. using TLS).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to