Remove queued mail messages
Is there any way to remove queued mail messages (mail notifications) in activemq. Currently there are many queued messages and I am not interested in having these messages sent, I am about to release User Access Review to production soon.
The reason these old emails have not been sent is because I currently do not have a value in the properties "iac.notification.smtp.host" and in "iac.notification.from"; however the property "com.netiq.soa.notification.EnableJMSPersistence" has the value true.
On a test machine that I have, I removed the subscriber "IDMNotificationDurableTopic" from the ActiveMQ console, as shown in the image:
Then I restarted the IdGov + ActiveMQ service and sent a test email from Notifications Emails -> Email source preview to validate the creation of the subscriber "IDMNotificationDurableTopic" (it was created again).
What I did ... would be valid for what I need, right?
We have not had a request or a need to clean-up the Topic. A review of the ActiveMQ documentation is needed to see what they outlined as the best practice should be.
Principal Enterprise Architect