diff --git a/tests/integration-tests/pom.xml b/tests/integration-tests/pom.xml index 83848d88fb..07a4984807 100644 --- a/tests/integration-tests/pom.xml +++ b/tests/integration-tests/pom.xml @@ -172,10 +172,18 @@ jboss-javaee 5.0.0.GA + + org.jboss.jbossts.jts jbossjts-jacorb + + org.jboss + jboss-transaction-spi + 7.1.0.Final + + io.vertx diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/jms/bridge/TransactionManagerLocatorImpl.java b/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/jms/bridge/TransactionManagerLocatorImpl.java new file mode 100644 index 0000000000..5ab404f9c6 --- /dev/null +++ b/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/jms/bridge/TransactionManagerLocatorImpl.java @@ -0,0 +1,36 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.activemq.tests.integration.jms.bridge; + +import javax.transaction.TransactionManager; + +import com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple; +import org.apache.activemq.service.extensions.transactions.TransactionManagerLocator; + +/** + * @author mtaylor + */ + +public class TransactionManagerLocatorImpl implements TransactionManagerLocator +{ + @Override + public TransactionManager getTransactionManager() + { + return new TransactionManagerImple(); + } +} diff --git a/tests/integration-tests/src/test/resources/META-INF/services/org.apache.activemq.service.extensions.transactions.TransactionManagerLocator b/tests/integration-tests/src/test/resources/META-INF/services/org.apache.activemq.service.extensions.transactions.TransactionManagerLocator new file mode 100644 index 0000000000..fe2642378d --- /dev/null +++ b/tests/integration-tests/src/test/resources/META-INF/services/org.apache.activemq.service.extensions.transactions.TransactionManagerLocator @@ -0,0 +1 @@ +org.apache.activemq.tests.integration.jms.bridge.TransactionManagerLocatorImpl