Modify a Queue using Universal Messaging Admin API

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?

  1. Get a list of existing queues
  2. Loop over the list: Get attributes -> Get properties for each queue
  3. Get the performAutoMaintenance property.
  4. 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.


Best Regards,

I need to copy data from Adabas BS200 to Adabas Windows; with utilities the FDT and data don´t matching and with Natural program, multiple fielsd and pediodic groups give me trouble.
Anyone know Pass4sure ccie voice how to solve my problem.