ARTEMIS-1009 fixing ProtonTest::testFilterJMSMessageID

This commit is contained in:
Clebert Suconic 2017-03-07 09:29:04 -05:00
parent b63c8fa9ac
commit ce77d12b87
1 changed files with 2 additions and 2 deletions

View File

@ -398,8 +398,8 @@ public class AMQPMessage extends RefCountMessage {
@Override
public Object getUserID() {
Properties properties = getProperties();
if (properties != null && properties.getUserId() != null) {
return properties.getUserId();
if (properties != null && properties.getMessageId() != null) {
return properties.getMessageId();
} else {
return this;
}