Github user michaelandrepearce commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1689#discussion_r155675756
--- Diff:
artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/Message.java
---
@@ -631,7 +631,9 @@ default Message setAnnotation(SimpleString key, Object
value) {
default Map<String, Object> toPropertyMap() {
Map map = new HashMap<>();
for (SimpleString name : getPropertyNames()) {
- map.put(name.toString(), getObjectProperty(name.toString()));
+ //some property is SimpleString, which is not available for
management console
+ Object value = getObjectProperty(name.toString());
+ map.put(name.toString(), value == null ? null : value.toString());
--- End diff --
nice catch.
---