ARTEMIS-1769 mitigate null
This commit is contained in:
parent
d7a7116a4c
commit
b209dd013d
|
@ -47,7 +47,7 @@ public class SessionView extends ActiveMQAbstractView<ServerSession> {
|
|||
.add(SessionField.CONSUMER_COUNT.getName(), session.getConsumerCount())
|
||||
.add(SessionField.PRODUCER_COUNT.getName(), session.getProducerCount())
|
||||
.add(SessionField.CONNECTION_ID.getName(), session.getConnectionID().toString())
|
||||
.add(SessionField.CLIENT_ID.getName(), session.getRemotingConnection().getClientID());
|
||||
.add(SessionField.CLIENT_ID.getName(), session.getRemotingConnection().getClientID() != null ? session.getRemotingConnection().getClientID() : "");
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue