You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2018/02/01 14:24:00 UTC

[jira] [Resolved] (ARTEMIS-1644) Legacy clients can't access addresses/queues explicitly configured with "jms.queue." and "jms.topic." prefixes

     [ https://issues.apache.org/jira/browse/ARTEMIS-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-1644.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0

> Legacy clients can't access addresses/queues explicitly configured with "jms.queue." and "jms.topic." prefixes
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1644
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1644
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>             Fix For: 2.5.0
>
>
> There is logic in the broker to detect Artemis 1.x and HornetQ clients which will automatically:
>  * set {{anycastPrefix}} and {{multicastPrefix}} to "jms.queue." and "jms.topic." respectively
>  * convert queue/address names in network packets
> In general this works perfectly for such clients.  However, if there are addresses and/or queues on the broker explicitly configured with either "jms.queue." or "jms.topic." then these clients will not be able to access these resources.
> The solution is two fold:
>  * disable the automatic detection logic
>  * support Artemis 1.x and HornetQ clients using explicitly configured {{anycastPrefix}} and {{multicastPrefix}} acceptor url parameters
> Disabling the automatic detection logic will change the default behavior for any acceptor supporting the CORE protocol since it would previously support these older clients automatically.  It would be possible to mitigate the impact of this change by adding the prefix parameters to the default url in broker.xml, but this is not recommended as this might negatively impact performance for high throughput use-cases.  A comment in broker.xml will be added instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)