Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2477

Reintroduce support for configuring a JChannel via URL

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 4.2.4
    • 4.2.3
    • None

    Description

      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 a pull request to add the constructor

      {org.jgroups.JChannel#JChannel(java.net.URL)}

      to master, which can also be cherry-picked for the 4.x branch.

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            thomas.darimont@googlemail.com Thomas Darimont
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: