Github user shailendra14k commented on the issue:
https://github.com/apache/activemq-artemis/pull/1744
@michaelandrepearce, Most the places what I observed is prefixes are
removed like:-
artemis-core-client:- QueueAbstractPacket class while getting the address
prefix are removed.
https://github.com/apache/activemq-artemis/blob/master/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/QueueAbstractPacket.java#L49-L60
When getting the ProducerCredits [1], the prefix is removed before getting
the store from PagingManager, due to which the address setting policies are
ignored as it will always get a wrong store.
https://github.com/apache/activemq-artemis/blob/master/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java#L1412-L1424
I was not able to find a way other then updating the CoreMessage method
getAddressSimpleString which is used at most places for getting the queue name.
---