Github user michaelandrepearce commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/2254#discussion_r211419727
--- Diff:
artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessage.java
---
@@ -423,7 +421,7 @@ public Destination getJMSDestination() throws
JMSException {
SimpleString address = message.getAddressSimpleString();
SimpleString name = address;
- if (address != null & enable1xPrefixes) {
+ if (address != null & session.isEnable1xPrefixes()) {
--- End diff --
Why does session it need to be changable?
---