ARTEMIS-3932 Fixing DuplciateRecordIdTest

This commit is contained in:
Clebert Suconic 2023-11-27 15:36:20 -05:00
parent 7c711c04c3
commit e1f84ea45b
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class DuplicateRecordIdTest extends ActiveMQTestBase {
@Before
public void setUp() throws Exception {
super.setUp();
server = createServer(false, createDefaultInVMConfig().addAddressSetting("#", new AddressSettings().setDeadLetterAddress(new SimpleString("dlq")).setExpiryAddress(new SimpleString("dlq"))));
server = createServer(false, createDefaultInVMConfig().addAddressSetting("#", new AddressSettings().setDeadLetterAddress(new SimpleString("dlq")).setExpiryAddress(new SimpleString("dlq")).setSlowConsumerPolicy(SlowConsumerPolicy.NOTIFY).setAddressFullMessagePolicy(AddressFullMessagePolicy.BLOCK)));
server.getConfiguration().setPersistenceEnabled(true);
}