Hi,
Which convertAndSend do you use?
If you use the one with destinationName of String type, the pubSubDomain
resolves it into queue if false(default) or topic if true. If you use the
one with destination of Destination type, it depends on the type you pass,
either ActiveMQQueue or ActiveMQTopic.
I have a Spring JMS message producer
(org.springframework.jms.core.JmsTemplate) that I initialize like this,
sender.setConnectionFactory(new CachingConnectionFactory(
new
ActiveMQConnectionFactory(brokerUrl,artemisUser,unMaskedUserNamePassword))
);