I am using Openfire 4.0.3. Recently I wanted my clients to use same JID with multiple devices (for example spark on windows and IM+ on android) but when someone sends a message to another JID (for example user@openfire-srv), openfire sends the message to the most recent active resource (not all the clients that are logged into the server).
I added route.all-resources with true value to the server properties and restarted the server. I also made sure that clients are using the general JID (for example alex@openfire-srv not a bare JID like alex@openfire/spark) then I set all priorities to 1 so the message doesn’t just reach the resource with the most priority but I still got problem cause the messages still reach the most recent resource.
Another thing that I need is that I want my users to see all their messages that are sent with every resource, for example Alex got IM+ on his android and spark on his Windows.Now Alex sends “Hello” to Jim with his spark then I need Alex to see his sent message on both devices (IM+ and Spark).
I will be so thankful if anyone cant make a suggestion on how to make these work.