Added some logging to try to help debug occasional CI failures

This commit is contained in:
Kevin Earls 2014-01-24 12:10:11 +01:00
parent a6edc416d6
commit 770539d530
1 changed files with 9 additions and 0 deletions

View File

@ -34,11 +34,14 @@ import javax.resource.ResourceException;
import org.apache.activemq.*;
import org.apache.activemq.ActiveMQConnectionFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @version $Rev$ $Date$
*/
public class JmsXARollback2CxTransactionTest extends JmsQueueTransactionTest {
protected static final Logger LOG = LoggerFactory.getLogger(JmsXARollback2CxTransactionTest.class);
private static final String DEFAULT_HOST = "vm://localhost?create=false";
private ConnectionManagerAdapter connectionManager = new ConnectionManagerAdapter();
@ -47,6 +50,12 @@ public class JmsXARollback2CxTransactionTest extends JmsQueueTransactionTest {
private XAResource[] xares = new XAResource[2];
private int index = 0;
@Override
protected void setUp() throws Exception {
LOG.info("Starting ----------------------------> {}", this.getName());
super.setUp();
}
@Override
protected void setSessionTransacted() {
resourceProvider.setTransacted(false);