Conclusion
In this chapter, we have seen the following main features of MOMs:
- Asynchronicity
- Decoupling
- Back pressure
- Point-to-point communication
- The publish/subscribe communication model
- Broadcast
- Priority of messages
- Persistence of messages
- JMS Selector
- Durable Subscribers
We have tested these features in our JMeter scripts using Apache ActiveMQ and Apache ActiveMQ Artemis.
Then, we saw how to take advantage of the management features of MOMs using JMeter (specifically, the JSR223 Sampler element and a REST API).
When the core JMS elements of JMeter are not sufficient, it is still possible to do our tests using the integration between JMeter and Groovy via a JSR223 Sampler element.
Once again, you can see the endless possibilities that JMeter offers.