Hello, According to https://activemq.apache.org/components/classic/documentation/broker-uri, when "deleteAllMessagesOnStartup" is set to true, all messages in the persistent store are deleted. If we interpret it literally, that should include scheduled messages.
However, after testing it locally on 5.18.5 and 6.1.3, that is not true. Scheduled messages are not deleted even if "deleteAllMessagesOnStartup" is set to true. Upon diving deeper, scheduler stores its data in a separate store not shared with the KahaDB store in the persistent layer (I tested with a broker on KahaDB). I am wondering what should be the expected behaviour in this case and would like input from the community. Should "deleteAllMessagesOnStartup" include scheduled messages? If not, is there a way to delete all scheduled messages on startup? (Or is it a good feature to add?) Thanks, Ken