Transactions, Spring.
JmsTemplate(connectionFactory()); } Here, ConnectionFactory is provided by Atomikos where it enables distributed transaction for Connection provided by it: @Bean(initMethod = "init", destroyMethod = "close") public ConnectionFactory connectionFactory() { ActiveMQXAConnectionFactory