ARTEMIS-1009 fixing ProtonTest::testFilterJMSMessageID
This commit is contained in:
parent
b63c8fa9ac
commit
ce77d12b87
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue