assertIsInstanceOf(ActiveMQConnectionFactory.class, connectionFactory.getTargetConnectionFactory());
}
@Test
public void testSessionTransactedWithoutTransactionManager() throws Exception {
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo?transacted=true&lazyCreateTransactionManager=false");
JmsConfiguration configuration = endpoint.getConfiguration();
assertIsInstanceOf(ActiveMQConfiguration.class, configuration);
assertTrue("The JMS sessions are not transacted!", endpoint.isTransacted());
assertTrue("The JMS sessions are not transacted!", configuration.isTransacted());
assertNull("A transaction manager has been lazy-created!", endpoint.getTransactionManager());
assertNull("A transaction manager has been lazy-created!", configuration.getTransactionManager());
}