Hello,
Hope you are doing well.
I am creating a chat support application using Openfire as the chat service. I use the restAPI plugin to communicate to/ from Openfire. I invoke apis of this RestAPI plugin to do various operations like add occupant to a chat room, remove occupants, create chat room etc.
I have a use case of sending a broadcast message to a chat room using MucRoom.sendPublicMessage(). Along with this an API is hit from another service to add an occupant to the same chat room. When these two apis are hit in parallel, I get a concurrent modification exception. This doesnt occur always. It is an intermittent issue. But wanted to check in this forum if this is a known issue . If yes, has it been fixed in later versions? Or is there a workaround to prevent this?
My openfire version : Openfire 4.7.6 Alpha
Rest API version: 1.10.2
Thanks a lot in advance