"Please make sure the spelling in your setup is correct, and check your JMS driver vendor's documentation." );
xaConnectionFactory = (XAConnectionFactory) driver;
PropertyUtils.setProperties(xaConnectionFactory, xaProperties );
}
JmsTransactionalResource tr = new JmsTransactionalResource(getUniqueResourceName() , xaConnectionFactory);
com.atomikos.datasource.pool.ConnectionFactory cf = new com.atomikos.jms.AtomikosJmsXAConnectionFactory(xaConnectionFactory, tr, this);
Configuration.addResource ( tr );
return cf;
}