I have a ejabberd setup to which I have a custom component connected. The cluster component handles a domain (domain.com) which basically has only 2 buddies -
I want to connect 2 instances of the component, such that a particular user is always connected to a particular component. Something like {domain_balancing, bare_destination}, but there is a difference.
These components need to run on different machines (machine1 and machine 2), and i need to be sure that user1 always goes to machine1, and user2 always to machine2. These need to happen because the service (
Is it possible?
Just an idea
So you currently have this?
The only idea that I can think is the Access option, but I don't know if it will work at all:
Thanks for your reply - let
Thanks for your reply - let me try it and see if it works.
access can be on the "to" id - i though acls were for "from" id.
This doesn't work. Basically,
This doesn't work. Basically, I looked at the erl code, and the access control is happening inside the ejabberd_service and is based on the "from" attribute, and not on the "to" attribute.
Also, on failure, it returns an error "405 not allowed" instead of seeing if there is anything else to route to.
Any other ideas.