I went ahead and created ARTEMIS-4521 [1] for the divert issue and sent a PR.
Justin [1] https://issues.apache.org/jira/browse/ARTEMIS-4521 On Thu, Nov 30, 2023 at 12:01 PM Justin Bertram <jbert...@apache.org> wrote: > This is a bug. The createDivert operation stores the divert configuration > in the journal, but the destroyDivert operation doesn't delete it. > Therefore, when the broker restarts it reads the divert configuration from > the journal and deploys it. > > Please open a Jira. Thanks! > > Also, if you're needing to manually clean up resources for retro-active > addresses then there's probably a bug there as well. > > > Justin > > On Thu, Nov 30, 2023 at 5:45 AM Dondorp, Erwin > <erwin.dond...@cgi.com.invalid> wrote: > >> Classification: Public >> >> Hello, >> >> After a JMX createDivert, followed by a JMX destroyDivert, followed by a >> broker restart, the divert is visible again. >> I noticed this behavior when trying to delete the diverts from >> retro-active addresses. But the above scenario is the simplest case and >> makes it clear that it is not connected to facilities such as retro-active >> addresses. >> Is this unexpected behavior? >> >> Erwin >> >