1 Reply Latest reply on Apr 9, 2019 4:52 AM by galder.zamarreno

    JGroups Fork Channel and Membership/View management with Infinispan

    palakkaran

      Hi,

      I am using fork channel api to fork my main channel. I have set it as a receiver using my implementation of reciever adapter. I can send and receive messages but cannot use the inherited method "viewAccepted" which should theoretically get invoked when there is a change in the jgroups view. But I do not get control to this method when I add a node or remove a node. However I still get control at my main channel's infinispan listerner class implementation annotated by @ViewChanged. This makes me confused.

      1. Is this the expected behavior?
      2. The fork channel does not send messages via the main channel. Is this understanding right?
      3. When a node in main channel goes down or a new node is added, the fork channel also behaves similar to main channel. Is this right?
      4. Is there a way to convert Infinispan Address to JGroups Address?
      5. I suppose Infinispan should be getting info about view change with underlying JGroups. I couldn't see the implementation in Infinispan source though. Any idea where it is handled?