Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8968

Protocol stack for fork channel is missing defined fork protocols

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 11.0.0.Alpha1
    • Fix Version/s: 11.0.0.Beta1
    • Component/s: Clustering
    • Labels:
      None

      Description

      Given the fork definition:

      <channel name="ee" stack="udp">
          <fork name="foo">
              <protocol type="RSVP"/>
          </fork>
      </channel>
      

      And given the code:

      @Resource(lookup = "java:jboss/jgroups/factory/foo")
      private ChannelFactory factory;
      
      @PostConstruct
      public void init() {
          try {
              Channel channel = this.factory.createChannel("bar");
              // This assertion fails!
              assert channel.getProtocolStack().findProtocol("RSVP") != null;
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pferraro Paul Ferraro
                  Reporter:
                  pferraro Paul Ferraro
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: