Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/1744
@shailendra14k if you step through the code and as i highlighted the
ActiveMQPacketHandler is setting this when the session is made and the client
version is pre-addressing changes.
see code extract:
```
if (connection.getChannelVersion() < PacketImpl.ADDRESSING_CHANGE_VERSION) {
routingTypeMap = new HashMap<>();
routingTypeMap.put(PacketImpl.OLD_QUEUE_PREFIX,
RoutingType.ANYCAST);
routingTypeMap.put(PacketImpl.OLD_TOPIC_PREFIX,
RoutingType.MULTICAST);
}
```
---