Igor Korolev created ARTEMIS-2469:
-------------------------------------
Summary: 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
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)