If you use a JMS messaging queue like Active MQ, in Spring Boot you can select destinations to be queues or topics. The variable you have to set for that is “PubSubDomain”. Makes sense, right?
For “Topic”, set pubSubDomain to true. For Queue, set pubSubDomain to false. Default is false.