You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/08/06 05:16:00 UTC
[jira] [Commented] (AMQ-8350) ActiveMQMessage.getStringProperty()
should exchange equals method call objects
[ https://issues.apache.org/jira/browse/AMQ-8350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17394519#comment-17394519 ]
Jean-Baptiste Onofré commented on AMQ-8350:
-------------------------------------------
Can you elaborate a bit your proposal ?
> 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
> Time Spent: 10m
> 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)