As you observed, the queue automatically created for a non-durable subscription for a STOMP client is not named according to the client-id. It uses a UUID which means the name is non-deterministric and therefore can't be readily shared across multiple clients. However, you should be able to use FQQN [1] to get the behavior you want since all you need to "share" the subscription is for all the consumers to connect to the same queue.
Hope that helps. Justin [1] https://activemq.apache.org/components/artemis/documentation/latest/address-model.html#fully-qualified-queue-names On Mon, Apr 25, 2022 at 8:39 AM CASAUX Nicolas < nicolas.cas...@soprasteria.com> wrote: > Hello, > > I managed to successfully create a shared durable subscription using a > "client-id" and a "durable-subscriber-name" with the STOMP protocol. > > However, always with STOMP, I can't find a way to create a shared > non-durable subscription. When I set only the "client-id", it does not seem > to be used to create the queue name. I thought that providing the > "cliend-id" would allow customers using the same "client-id" to use the > same queue, but it is not what is happening. Am I missing something ? > > I'm using Artemis 2.20.0 > > Thanks in advance. > > Nicolas > > > C2 - Usage restreint >