I was trying to generalize the chat example to obtain a multi-rooms chat. I'd like to connect clients to rooms. Each room and its clients behaves exactly as the actual chat example.

I spent some time modifying the actual example (addressing rooms from "chat_room" parameter, replacing actual singleton room with a hashmap of rooms) but i can't see a way to associate a client (detected a metadata level) with a room (defined a data adapter level).

Any suggestion?