[ 
https://issues.apache.org/jira/browse/ARTEMIS-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16661520#comment-16661520
 ] 

ASF GitHub Bot commented on ARTEMIS-2130:
-----------------------------------------

Github user michaelandrepearce commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2376#discussion_r227610014
  
    --- Diff: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/view/ConsumerView.java
 ---
    @@ -82,7 +82,7 @@ public Object getField(ServerConsumer consumer, String 
fieldName) {
              case "user":
                 return session.getUsername();
              case "clientID":
    -            return consumer.getConnectionClientID();
    +            return session.getMetaData("jms-client-id") == null ? 
consumer.getConnectionClientID() : session.getMetaData("jms-client-id");
    --- End diff --
    
    this should not be needed, if anything the session and consumer models 
should be re-worked to allow for a client id to be set at session level 
generically.


> Web console display blank ClientID for the core client.
> -------------------------------------------------------
>
>                 Key: ARTEMIS-2130
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2130
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 2.6.3
>            Reporter: Shailendra Kumar singh
>            Priority: Major
>         Attachments: ConnectionView.png, ProducersView.png
>
>
> Web console display blank ClientID for the core client. 
> connection.setClientID("Test2"); Web console display blank, attached 
> screen-shot.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to