I have a multi-threaded application that uses a RabbitTemplate (with CachingConnectionFactory) to send messages to the broker. I need to ensure that the messages are delivered in order. I have seen this answer about this myself in: Spring AMQP ensuring message order in multi-threaded environment
Are these the only two options with Spring AMQP? What does a dedicated connection mean? I need to define a new RabbitTemplate with its ConnectionFactory in each java class that serves as the producer?
Thank you!