Tuesday, March 11, 2025
A new version of APEX Message Service is here! 🥳 In the past year, AMS has proven to be a reliable service for sending instant messages, and we’ve made some enhancements.
The most significant change is happening in our cloud service. In the previous version, customers had to create rooms through the AMS Portal before sending messages. Also, the number of connections was limited per room, and the rate limit was set to messages per second.
With the new version, it is no longer necessary to create rooms through the AMS Portal; they are created behind the scenes automatically. As a result, there’s no longer a limit on the number of rooms. The only thing required to get started with AMS is to choose a region, which will determine the server URL for your applications. The region can easily be selected in the AMS Portal. It also features a new dashboard to monitor activity.
The rate limit has also changed; the number of messages is now limited within a 24-hour time frame. The rate limit will be reset 24 hours after sending your first message, and the remaining time will be visible in the AMS dashboard.
The on-prem version has adopted the same rate limit changes from the cloud. Depending on your license, the number of messages will be limited within 24 hours. There’s a new API endpoint, ‘/ratelimitinfo’, which provides essential information about the number of messages and remaining time.
{   // Messages sent since last reset   "counter": number,   // Rate limit time frame (in milliseconds)   "duration": number,    // Rate limit remaining time frame (in milliseconds)   "timeLeft": number,   // The number of messages, depending on your license   "limit": number  } Â
Also, HTTPS is now supported! By providing a certificate and key file in the AMS-config file, all traffic will be encrypted. Important: Clustering is not supported when using HTTPS.
With this new release, it’s easier than ever to get started with instant messaging for your projects! You can try AMS for free by visiting our portal.
Already using AMS? No worries; existing plug-ins will still work with the new version.
For more information, please read the documentation or see our sample application.
No comments yet, be the first one to let us know what you think of this article!