Class XaPooledConnectionFactory

    • Constructor Detail

      • XaPooledConnectionFactory

        public XaPooledConnectionFactory()
    • Method Detail

      • getTransactionManager

        public javax.transaction.TransactionManager getTransactionManager()
      • setTransactionManager

        public void setTransactionManager​(javax.transaction.TransactionManager transactionManager)
      • setConnectionFactory

        public void setConnectionFactory​(Object toUse)
        Description copied from class: PooledConnectionFactory
        Sets the ConnectionFactory used to create new pooled Connections.

        Updates to this value do not affect Connections that were previously created and placed into the pool. In order to allocate new Connections based off this new ConnectionFactory it is first necessary to PooledConnectionFactory.clear() the pooled Connections.

        Overrides:
        setConnectionFactory in class PooledConnectionFactory
        Parameters:
        toUse - The factory to use to create pooled Connections.
      • createConnectionPool

        protected ConnectionPool createConnectionPool​(javax.jms.Connection connection)
        Description copied from class: PooledConnectionFactory
        Delegate that creates each instance of an ConnectionPool object. Subclasses can override this method to customize the type of connection pool returned.
        Overrides:
        createConnectionPool in class PooledConnectionFactory
        Returns:
        instance of a new ConnectionPool.
      • getTmJndiName

        public String getTmJndiName()
      • setTmJndiName

        public void setTmJndiName​(String tmJndiName)
      • isTmFromJndi

        public Boolean isTmFromJndi()
      • setTmFromJndi

        public void setTmFromJndi​(Boolean tmFromJndi)
        Allow transaction manager resolution from JNDI (ee deployment)
        Parameters:
        tmFromJndi -