Add TM Locator impl to JMSBridge tests
This commit is contained in:
parent
4045e89748
commit
891e3ef1cb
|
@ -172,10 +172,18 @@
|
|||
<artifactId>jboss-javaee</artifactId>
|
||||
<version>5.0.0.GA</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Needed for JMS Bridge Tests -->
|
||||
<dependency>
|
||||
<groupId>org.jboss.jbossts.jts</groupId>
|
||||
<artifactId>jbossjts-jacorb</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jboss</groupId>
|
||||
<artifactId>jboss-transaction-spi</artifactId>
|
||||
<version>7.1.0.Final</version>
|
||||
</dependency>
|
||||
|
||||
<!--Vertx provided dependencies-->
|
||||
<dependency>
|
||||
<groupId>io.vertx</groupId>
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
org.apache.activemq.tests.integration.jms.bridge.TransactionManagerLocatorImpl
|
Loading…
Reference in New Issue