Transactions, Spring.
messages under a transaction: ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(CONNECTION_URL); Connection connection = = connectionFactory.createConnection(); connection.start(); try { Session session = connection.createSession(true, 0); Destination = destination =