You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Igor Korolev (Jira)" <ji...@apache.org> on 2019/09/03 06:36:00 UTC

[jira] [Updated] (ARTEMIS-2469) Deprecate old JGroups properties syntax

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

Igor Korolev updated ARTEMIS-2469:
----------------------------------
    Description: 
Quoting the [doc|https://activemq.apache.org/components/artemis/documentation/latest/using-jms.html]:
{noformat}
Lastly, the jgroups scheme is supported which provides an alternative to the udp scheme for server discovery. The URL pattern is either jgroups://channelName?file=jgroups-xml-conf-filename where jgroups-xml-conf-filename refers to an XML file on the classpath that contains the JGroups configuration or it can be jgroups://channelName?properties=some-jgroups-properties. In both instance the channelName is the name given to the jgroups channel created.{noformat}
The problem is that the latter syntax (one without an XML file) relies on the JGroups old-style config parser, which was removed in JGroups 4. I suggest to deprecate it, remove it from the docs and at some point drop it from the code so that it allows us to upgrade to JGruops 4+ in the future.

  was:
Quoting the [doc|[https://activemq.apache.org/components/artemis/documentation/latest/using-jms.html]]:
{noformat}
Lastly, the jgroups scheme is supported which provides an alternative to the udp scheme for server discovery. The URL pattern is either jgroups://channelName?file=jgroups-xml-conf-filename where jgroups-xml-conf-filename refers to an XML file on the classpath that contains the JGroups configuration or it can be jgroups://channelName?properties=some-jgroups-properties. In both instance the channelName is the name given to the jgroups channel created.{noformat}
The problem is that the latter syntax (one without an XML file) relies on the JGroups old-style config parser, which was removed in JGroups 4. I suggest to deprecate it, remove it from the docs and at some point drop it from the code so that it allows us to upgrade to JGruops 4+ in the future.


> Deprecate old JGroups properties syntax
> ---------------------------------------
>
>                 Key: ARTEMIS-2469
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2469
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Igor Korolev
>            Priority: Minor
>
> Quoting the [doc|https://activemq.apache.org/components/artemis/documentation/latest/using-jms.html]:
> {noformat}
> Lastly, the jgroups scheme is supported which provides an alternative to the udp scheme for server discovery. The URL pattern is either jgroups://channelName?file=jgroups-xml-conf-filename where jgroups-xml-conf-filename refers to an XML file on the classpath that contains the JGroups configuration or it can be jgroups://channelName?properties=some-jgroups-properties. In both instance the channelName is the name given to the jgroups channel created.{noformat}
> The problem is that the latter syntax (one without an XML file) relies on the JGroups old-style config parser, which was removed in JGroups 4. I suggest to deprecate it, remove it from the docs and at some point drop it from the code so that it allows us to upgrade to JGruops 4+ in the future.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)