Package io.mats3.test.broker
package io.mats3.test.broker
Tool for creating a MQ Broker to easily create a MatsFactory backed by an in-vm MQ Broker, employed by several of the
other Mats testing tools - by default uses Apache ActiveMQ, but may be directed to use Apache Artemis instead, or
to use an external ActiveMQ or Artemis broker.
-
ClassDescriptionA special utility class utilized in tests and Mats test infrastructure providing a ConnectionFactory for the test (Jms)MatsFactory - and if relevant also fires up an embedded ("in-VM") ActiveMQ (default) or Artemis message broker.Either creates an in-vm ActiveMQ, or an ActiveMQ ConnectionFactory to an external URL, based on system properties.Creates a connection to an Artemis broker.Creates an in-vm ActiveMQ no matter what the properties says.