activemq-artemis/tests/integration-tests
Justin Bertram 1ed7cc1efc ARTEMIS-3719 DLA and expiry incorrect w/temp-queue-namespace
When using a temporary queue with a `temporary-queue-namespace` the
`AddressSettings` lookup wasn't correct. This commit fixes that and
refactors `QueueImpl` a bit so that it holds a copy of its
`AddressSettings` rather than looking them up all the time. If any
relevant `AddressSettings` changes the
`HierarchicalRepositoryChangeListener` implementation will still
refresh the `QueueImpl` appropriately.

The `QueueControlImpl` was likewise changed to get the dead-letter
address and expiry address directly from the `QueueImpl` rather than
looking them up in the `AddressSettings` repository.

I modified some code that came from ARTEMIS-734, but I ran the test that
was associated with that Jira (i.e.
`o.a.a.a.t.i.c.d.ExpireWhileLoadBalanceTest`) and it passed so I think
that should be fine. There actually was no test included with the
original commit. One was added later so it's hard to say for sure it
exactly captures the original issue.
2022-03-14 15:26:20 -04:00
..
src/test ARTEMIS-3719 DLA and expiry incorrect w/temp-queue-namespace 2022-03-14 15:26:20 -04:00
.gitignore ARTEMIS-3106 Support for SASL-SCRAM 2021-04-08 19:58:09 -04:00
pom.xml ARTEMIS-3695: use specific jetty deps instead of uber jar, rationalise servlet api deps 2022-03-03 21:59:13 -05:00