Hi Thomas, Is this really necessary? You can achieve the same today by using an external registry. E.g. List<Channel> channels = channelRegistry.get(webSocketConnection); internally the registry can use WebSocketConnection's getApplication().getName(), getSessionId() and getKey() to construct the key.
MetaData would do the job as well, but I'd prefer to not add more functionality unless really needed. Regards, Martin On Wed, Mar 25, 2020 at 6:30 PM Thomas Heigl <tho...@umschalt.com> wrote: > Hi all, > > I'd like to add metadata to websocket connections. For instance, which > events or channels a connection is subscribed to. > > What do you think about adding MetaDataEntry<?>[] metaData to connections > and setMetaData/getMetaData to IWebSocketConnection? > > Best regards, > > Thomas >