OK, it’s not really multi domain Openfire but someone in our team had this suggestion for being able to simulate a multi domain environment with one Openfire installation and it’d be good to know people’s feedback. It’s not very XMPP and it’s a bit dirty but our company wants multi domain chat for all the ‘ventures’ we look after and if we can’t achieve this in some way with Openfire we’ll have to look into other options.
The idea is:
Create multiple MUC services, one per domain (company1, company2 etc)
Configure our chat client (we custom wrote one in Flex/XIFF) to only service discover on the domain the user is part of
Store the user’s details prefixed or suffixed by some special character, for example _.
The room names wouldn’t need to be unique as the composite key is service ID and room name combined.
Could anyone think of any problems you might encounter if we went down this route? The idea is to NOT change the openfire code as it’ll make it really hard for us to keep up with new releases…