use of org.apache.cxf.transport.jms.uri.JMSEndpoint in project cxf by apache.
the class JMSConfigFactoryTest method testTransactionManagerFromJndi.
@Test
public void testTransactionManagerFromJndi() throws XAException, NamingException {
JMSEndpoint endpoint = new JMSEndpoint("jms:queue:Foo.Bar?jndiTransactionManagerName=java:/comp/TransactionManager");
Assert.assertEquals("java:/comp/TransactionManager", endpoint.getJndiTransactionManagerName());
// TODO Check JNDI lookup
}
Aggregations