[jboss-jira] [JBoss JIRA] (JGRP-2477) Reintroduce support for configuring a JChannel via URL
Thomas Darimont (Jira)
issues at jboss.org
Sat May 16 15:20:01 EDT 2020
Thomas Darimont created JGRP-2477:
-------------------------------------
Summary: Reintroduce support for configuring a JChannel via URL
Key: JGRP-2477
URL: https://issues.redhat.com/browse/JGRP-2477
Project: JGroups
Issue Type: Enhancement
Affects Versions: 5.0.0.Beta1, 4.2.3
Reporter: Thomas Darimont
Assignee: Bela Ban
Infinispan 9.4.x (9.4.19) uses a URL to load the JGroups configuration from the infinispan configuration.
When an external jgroups stack configuration file is used:
See: "Using an external JGroups file" in https://infinispan.org/docs/9.4.x/user_guide/user_guide.html#using_an_external_jgroups_file
When creating the JGroups stack, infinispan uses the constructor in org.jgroups.JChannel#JChannel(...) which takes a URL as parameter.
See: https://github.com/infinispan/infinispan/blob/9.4.x/core/src/main/java/org/infinispan/remoting/transport/jgroups/JGroupsTransport.java#L586
However this constructor is only present in versions up-to including 4.0.22 https://github.com/belaban/JGroups/blob/4.0.22/src/org/jgroups/JChannel.java#L121
and was removed in later versions.
Because of this users of infinispan 9.4.x, who use the "Using an external JGroups file" configuration approach cannot upgrade to new JGroups versions, like 4.2.3.
In order to ease upgrading to newer JGroups versions with Infinispan 9.4.x. it would be very kind if the constructor with the URL parameter
could be added back.
I created two pull requests to add the constructor {org.jgroups.JChannel#JChannel(java.net.URL)} to master, as well as the 4.x branch.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list