[
https://issues.apache.org/jira/browse/ARTEMIS-4689?focusedWorklogId=909999&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-909999
]
ASF GitHub Bot logged work on ARTEMIS-4689:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 15/Mar/24 00:58
Start Date: 15/Mar/24 00:58
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on PR #4855:
URL:
https://github.com/apache/activemq-artemis/pull/4855#issuecomment-1998714100
hmmmm... maybe we need to tweak the Abstract a bit.
does it make sense to specify --protocol on the import?
what about clientID?
```
Usage: artemis data imp [--legacy-prefixes] [--silent] [--sort] [--verbose]
[--acceptor=<acceptor>] [--clientID=<clientID>]
--input=<input> [--password=<password>]
[--protocol=<protocol>] [--url=<brokerURL>]
[--user=<user>]
Import all message-data using an XML that could be interpreted by any system.
--acceptor=<acceptor>
Name used to find the default connection URL on the
acceptor list. If an acceptor with that name
cannot
be found the CLI will look for a connector with
the
same name.
--clientID=<clientID>
ClientID set on the connection.
--input=<input> The input file name. Default: exp.dmp.
--legacy-prefixes Do not remove prefixes from legacy imports.
--password=<password>
Password used to connect.
--protocol=<protocol>
Protocol used. Valid values are AMQP, CORE
--silent Disable all the inputs, and make a best guess for
any
required input.
--sort Sort the messages from the input (used for older
versions that won't sort messages).
--url=<brokerURL> Connection URL. Default: build URL from the
'artemis'
acceptor defined in the broker.xml or tcp:
//localhost:61616 if the acceptor cannot be
parsed.
--user=<user> User used to connect.
--verbose Print additional information.
```
Issue Time Tracking
-------------------
Worklog Id: (was: 909999)
Time Spent: 50m (was: 40m)
> 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: 50m
> 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)