NO-JIRA Adding Queue Delete Delay on openWireTestsuite

Some open wire tests will close a consumer and open it right away.

The removal of the queue is asynchronous, having this kind of behaviour may lead to issues
after we moved the QueueManager to be asynchronous.
This commit is contained in:
Clebert Suconic 2020-01-10 10:46:25 -05:00
parent 29554acc56
commit 3fff744de4
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ public class ArtemisBrokerWrapper extends ArtemisBrokerBase {
commonSettings.setExpiryAddress(dla); commonSettings.setExpiryAddress(dla);
commonSettings.setAutoCreateQueues(true); commonSettings.setAutoCreateQueues(true);
commonSettings.setAutoCreateAddresses(true); commonSettings.setAutoCreateAddresses(true);
commonSettings.setAutoDeleteQueuesDelay(10_0000);
if (bservice.extraConnectors.size() == 0) { if (bservice.extraConnectors.size() == 0) {
serverConfig.addAcceptorConfiguration("home", "tcp://localhost:61616"); serverConfig.addAcceptorConfiguration("home", "tcp://localhost:61616");