You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Erwin Dondorp (Jira)" <ji...@apache.org> on 2021/06/28 21:43:00 UTC
[jira] [Updated] (ARTEMIS-3369) CLI removes server-side prefixes
from a given address
[ https://issues.apache.org/jira/browse/ARTEMIS-3369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erwin Dondorp updated ARTEMIS-3369:
-----------------------------------
Description:
The Artemis CLI variations producer, consumer, browse and transfer, all prepare a destination using function {{getDestination}}. However, this function also removes a prefix that it was not looking for. It tests for a topic prefix (topic://) and then removes any prefix that was present.
It should explicitly test for the 2 prefixes it cares about (topic:// and queue://) and then remove only a recognized prefix when it was present.
PR will follow...
was:
The artemis CLI variations producer, consumer, browse and transfer, all prepare a destination using function {{getDestination}}. However, this function also removes a prefix that it was not looking for. It tests for a topic prefix (topic://) and then removes any prefix that was present.
It should explicitly test for the 2 prefixes it cares about and then remove only a recognized prefix when it was present.
PR will follow...
> CLI removes server-side prefixes from a given address
> -----------------------------------------------------
>
> Key: ARTEMIS-3369
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3369
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.17.0
> Reporter: Erwin Dondorp
> Priority: Major
>
> The Artemis CLI variations producer, consumer, browse and transfer, all prepare a destination using function {{getDestination}}. However, this function also removes a prefix that it was not looking for. It tests for a topic prefix (topic://) and then removes any prefix that was present.
> It should explicitly test for the 2 prefixes it cares about (topic:// and queue://) and then remove only a recognized prefix when it was present.
> PR will follow...
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)