Skip to:
SessionManager has a Cache that holds external components, mapped to the cluster node ID of the cluster node that they're connected to.
External components can connect more than once to the same server (see https://igniterealtime.atlassian.net/browse/JM-1217#icft=JM-1217). If that's true, then it stands to reason that they can also connect to more than one cluster node.
The current implementation maps the component to exactly one cluster node. That will introduce problems, when the component is connected to more than one node.
SessionManager has a Cache that holds external components, mapped to the cluster node ID of the cluster node that they're connected to.
External components can connect more than once to the same server (see https://igniterealtime.atlassian.net/browse/JM-1217#icft=JM-1217). If that's true, then it stands to reason that they can also connect to more than one cluster node.
The current implementation maps the component to exactly one cluster node. That will introduce problems, when the component is connected to more than one node.