public static class MatsTestBroker.MatsTestBroker_ActiveMq extends java.lang.Object implements MatsTestBroker
MatsTestBroker.MatsTestBroker_ActiveMq, MatsTestBroker.MatsTestBroker_Artemis, MatsTestBroker.MatsTestBroker_InVmActiveMq
Modifier and Type | Field and Description |
---|---|
protected org.apache.activemq.broker.BrokerService |
_brokerService |
protected javax.jms.ConnectionFactory |
_connectionFactory |
SYSPROP_MATS_TEST_BROKER, SYSPROP_MATS_TEST_BROKER_VALUE_ACTIVEMQ, SYSPROP_MATS_TEST_BROKER_VALUE_ARTEMIS, SYSPROP_MATS_TEST_BROKER_VALUE_RABBITMQ, SYSPROP_MATS_TEST_BROKERURL, SYSPROP_MATS_TEST_BROKERURL_VALUE_IN_VM, SYSPROP_MATS_TEST_BROKERURL_VALUE_LOCALHOST
Modifier and Type | Method and Description |
---|---|
void |
close()
Stops the created in-vm broker, if it was created (read
MatsTestBroker.SYSPROP_MATS_TEST_BROKERURL ). |
javax.jms.ConnectionFactory |
getConnectionFactory() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, createUniqueInVmActiveMq
protected final org.apache.activemq.broker.BrokerService _brokerService
protected final javax.jms.ConnectionFactory _connectionFactory
public javax.jms.ConnectionFactory getConnectionFactory()
getConnectionFactory
in interface MatsTestBroker
public void close()
MatsTestBroker
MatsTestBroker.SYSPROP_MATS_TEST_BROKERURL
). Called "close()"
to hook into the default Spring lifecycle if it is instantiated as a Spring Bean.close
in interface MatsTestBroker