Hi devs,

I'm playing with Apache TomEE and Apache QPID.
QPID resquires a TransactionManagerLocator class. I've proposed a solution
at their side (https://issues.apache.org/jira/browse/QPID-5125) but I guess
we could have it in our side too. I was thinking about adding a really
simple class in TomEE, so we could use the existing QPID solution
(TransactionManagerLocatorClass
and TransactionManagerLocatorMethod -
http://qpid.apache.org/components/qpid-jca/index.html).

This would be the class...

import org.apache.openejb.OpenEJB;
import javax.transaction.TransactionManager;

public class TransactionManagerLocator {
    public TransactionManager getTm() {
        return OpenEJB.getTransactionManager();
    }
}

Is there an existing project where I could put this class? Should I create
another project "openejb-qpid" like the existing "openejb-activemq"?

[]s,
Thiago.

Reply via email to