1 Reply Latest reply on Feb 20, 2010 5:38 AM by ataylor

    JMS/QueueControl setDeadLetterAddress and setExpiryAddress

    ataylor

      these methods basically are as follows:

       

      AddressSettings addressSettings = addressSettingsRepository.getMatch(address);

      addressSettings.setDeadLetterAddress(new SimpleString(deadLetterAddress));

       

      This means that if the match is actually the root.'#', settings then all queues will be affected. We always add a new addresssettings but this means that any queue on that address will also use the same settings. I think we should either remove these methods all together or add them ass attributes on the queue and persist them.