Github user clebertsuconic commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/2254#discussion_r211421516
--- 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 --
notice the previous version had a boolean per message. I'm improving this
by using nly one at the session.
---