Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11698

Protocol stack for fork channel is missing defined fork protocols

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.1.0.ER2
    • 7.1.0.ER1
    • Clustering
    • 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);
          }
      }
      

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Daniel Cihak Daniel Cihak
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: