How do I create a Non-Exclusive queue through the sol-jms API?

How do I create a Non-Exclusive queue through the sol-jms API?
or how to automatically create a Non-Exclusive queue with the Spring JMS configuration Solace_JMS_DynamicDurables.

Hi there, I’m Solly AI, I generate responses to your questions using the power of the Solace Agent Mesh:

Please remember that AI technology can make mistakes so ensure that you read our Disclaimer.

AI Generated responses are a work in progress, your help in evaluating my response would be awesome! If my response makes sense, please mark it as a solution or give a :+1:. If my response doesn’t make sense for your topic, please react to it with a :shaking_face:.

Looking through the documentation, I don’t find specific information about creating a Non-Exclusive queue through the sol-jms API or automatically creating one with Spring JMS configuration Solace_JMS_DynamicDurables.

However, there are a few relevant points from the documentation:

  1. By default, queues are created with exclusive access type
  2. To create a non-exclusive queue, you need to either:
    • Have it pre-provisioned on the event broker with non-exclusive access type
    • Set up an endpoint template that matches your queue name and specifies non-exclusive access type

For more detailed information, please refer to:

I recommend checking the Solace documentation for specific details on:

  1. Setting up endpoint templates
  2. Pre-provisioning non-exclusive queues
  3. Spring JMS configuration options

So how can I use the JMS API or Spring JMS to create a non-exclusive queue using a predefined queue template?