Add TM Locator impl to JMSBridge tests

This commit is contained in:
Martyn Taylor 2014-12-12 12:51:23 +00:00
parent 4045e89748
commit 891e3ef1cb
3 changed files with 45 additions and 0 deletions

View File

@ -172,10 +172,18 @@
<artifactId>jboss-javaee</artifactId> <artifactId>jboss-javaee</artifactId>
<version>5.0.0.GA</version> <version>5.0.0.GA</version>
</dependency> </dependency>
<!-- Needed for JMS Bridge Tests -->
<dependency> <dependency>
<groupId>org.jboss.jbossts.jts</groupId> <groupId>org.jboss.jbossts.jts</groupId>
<artifactId>jbossjts-jacorb</artifactId> <artifactId>jbossjts-jacorb</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-transaction-spi</artifactId>
<version>7.1.0.Final</version>
</dependency>
<!--Vertx provided dependencies--> <!--Vertx provided dependencies-->
<dependency> <dependency>
<groupId>io.vertx</groupId> <groupId>io.vertx</groupId>

View File

@ -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();
}
}

View File

@ -0,0 +1 @@
org.apache.activemq.tests.integration.jms.bridge.TransactionManagerLocatorImpl