Hi All,
I am looking to set auto-maintenance storage property of an existing queue in a realm to a desired value true/false in an automated way.
While exploring the Universal Messaging Admin Java API, I came across nStoreProperties class which contains ‘setPerformAutomaticMaintenance’ method and I think this should do the trick.
What I have done till now?
- Get a list of existing queues
- Loop over the list: Get attributes → Get properties for each queue
- Get the performAutoMaintenance property.
- If the value is false, set it to true.
How do I save the changes now which would make sure that the changes are persisted back?
Any tips and pointers to relevant methods in the Admin API to modify a queue would be very helpful.
Thanks.
Best Regards,
Momin