[
https://issues.apache.org/jira/browse/AMQ-8350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17394522#comment-17394522
]
ASF subversion and git services commented on AMQ-8350:
------------------------------------------------------
Commit ec23ab93dd56e460a4c94036a2f0addbcf520300 in activemq's branch
refs/heads/activemq-5.16.x from xingrufei
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=ec23ab9 ]
[AMQ-8350] ActiveMQMessage.getStringProperty() should exchange equals method
call objects
(cherry picked from commit dbbf3cb3f3c2bc4168df0011990768e8a7dd3c0f)
> ActiveMQMessage.getStringProperty() should exchange equals method call objects
> ------------------------------------------------------------------------------
>
> Key: AMQ-8350
> URL: https://issues.apache.org/jira/browse/AMQ-8350
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Reporter: rufei xing
> Assignee: Jean-Baptiste Onofré
> Priority: Trivial
> Fix For: 5.17.0, 5.16.3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> ActiveMQMessage.getStringProperty() should exchange equals method call objects
>
> {code:java}
> if (name.equals("JMSXUserID")) {
> value = getUserID();
> if (value == null) {
> value = getObjectProperty(name);
> }
> } else {
> value = getObjectProperty(name);
> }
> if (value == null) {
> return null;
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)