Clearing JMS queues

Multiple attempts to load a large file can result in large numbers of records in JMS queues. Clearing the queues can improve performance.

In some cases when you can make multiple attempts to load a large file, records are processed into the JMS queues. Depending on the queue settings, the records might be retained there until they are processed, which can cause large volumes of data to be processed and adversely affect performance. Large numbers of records in the queues also make troubleshooting more difficult and time consuming.

There are two ways to clear JMS queues:

  • delete JMS store files
  • clear messages with the Message Reprocessing application

Deleting JMS store files

In the default Maximo IT installation, messages are stored in a file called the JMS store. This feature enables the messages to persist between restarts of the server. The location of the file is configurable. To locate it, check your install notes or the application server configuration. If a server runs multiple integrations, each integration might have its own queues, and each queue might have its own files. After you locate the correct files, you can delete them and restart the server.

Use Message Reprocessing to clear messages

You can use the Delete Message action Message Reprocessing application to clear messages. For more information about deleting messages, see the message Reprocessing help in the application. You can also delete these records using an SQL tool to delete appropriate records in the maxinterror and maxinterrormsg tables.