clebertsuconic commented on a change in pull request #3984:
URL: https://github.com/apache/activemq-artemis/pull/3984#discussion_r826200166
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java
##########
@@ -1975,19 +1970,14 @@ public void expire(final MessageReference ref) throws
Exception {
@Override
public void expire(final MessageReference ref, final ServerConsumer
consumer) throws Exception {
- SimpleString messageExpiryAddress = expiryAddressFromMessageAddress(ref);
- if (messageExpiryAddress == null) {
- messageExpiryAddress = expiryAddressFromAddressSettings(ref);
- }
-
- if (messageExpiryAddress != null) {
+ if (addressSettings.getExpiryAddress() != null) {
Review comment:
ok.. thanks.. I just wanted to make sure you looked into that.
I'm running the whole test suite to make sure.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]