接口 XAConnectionFactoryWrapper

    • 方法详细资料

      • wrapConnectionFactory

        javax.jms.ConnectionFactory wrapConnectionFactory​(javax.jms.XAConnectionFactory connectionFactory)
                                                   throws Exception
        Wrap the specific XAConnectionFactory and enroll it with a JTA TransactionManager.
        参数:
        connectionFactory - the connection factory to wrap
        返回:
        the wrapped connection factory
        抛出:
        Exception - if the connection factory cannot be wrapped