mirror of https://github.com/apache/activemq.git
Merge pull request #698 from skyguard1/fix_message_get_string
[AMQ-8350] ActiveMQMessage.getStringProperty() should exchange equals method call objects
This commit is contained in:
commit
f49b04c15a
|
@ -674,7 +674,7 @@ public class ActiveMQMessage extends Message implements org.apache.activemq.Mess
|
|||
@Override
|
||||
public String getStringProperty(String name) throws JMSException {
|
||||
Object value = null;
|
||||
if (name.equals("JMSXUserID")) {
|
||||
if ("JMSXUserID".equals(name)) {
|
||||
value = getUserID();
|
||||
if (value == null) {
|
||||
value = getObjectProperty(name);
|
||||
|
|
Loading…
Reference in New Issue