title: Performance issues with ActiveMQ Artemis and Spring JmsTemplate
body: <p>While doing some load tests with the ActiveMQ Artemis broker and my Spring Boot application I am getting into performance issues.</p>
  <p>What I am doing is, sending e.g. 12,000 messages per second to the broker with JMSeter and the application receives them and saves them to a DB. That works fine. But when I extend my application by a filter mechanism, which forwards events after saving to DB, back to the broker using <code>jmsTemplate.send(destination, messageCreator)</code> it goes very slow.</p>
  <p>I first used ActiveMQ 5.x and there this mechanism works fine. There you could configure the <code>ActiveMQConnectionFactory</code> with <code>setAsyncSend(true)</code> to tune performance. For the ActiveMQ Artemis <code>ConnectionFactory</code> implementation there is no such a possibility. Is there another way to tune performance like in ActiveMQ 5.x?</p>
  <p>I am using Apache ActiveMQ Artemis 2.16.0 (but also tried 2.15.0), artemis-jms-client 2.6.4, and Spring Boot 1.5.16.RELEASE.</p>