psdi.iface.jms

Class JMSProducerPool

  • java.lang.Object
    • psdi.iface.jms.JMSProducerPool

  • Deprecated.

    @Deprecated
    public class JMSProducerPool
    extends java.lang.Object
    The pool of JMSProducer objects.
    • Field Detail

      • POOL_INCR_SIZE

        public static int POOL_INCR_SIZE
        Deprecated. 
        The pool increment size. The pool size will go up if there is a pending request for a JMSProducer and there are no available instances.
      • jmsLogger

        protected static final MXLogger jmsLogger
        Deprecated. 
        JMS Logger
    • Method Detail

      • closeAll

        public static void closeAll()
        Deprecated. 
        Releases resources from all pools. Typically called when the Destination configuration has changed and the application wants to refresh the cached pools.
      • getInstance

        public static JMSProducerPool getInstance(java.lang.String connectionFactoryName,
                                                  java.util.Properties env)
        Deprecated. 
        Parameters:
        connectionFactoryName - the JNDI name of the ConnectionFactory.
        env - The env that would be used to create the IntialContext.
        Returns:
        the JMSProducerPool instance
      • getJMSProducer

        public JMSProducer getJMSProducer(java.lang.String destinationName)
                                   throws MXException
        Deprecated. 
        Parameters:
        destinationName - the JNDI name of the Destination.
        Returns:
        the JMSProducer from the pool.
        Throws:
        MXException
      • getJMSProducer

        public JMSProducer getJMSProducer(java.lang.String destinationName,
                                          java.lang.String providerUser,
                                          java.lang.String providerPassword)
                                   throws MXException
        Deprecated. 
        Parameters:
        destinationName - the JNDI name of the Destination.
        Returns:
        the JMSProducer from the pool.
        Throws:
        MXException
      • freeJMSProducer

        public void freeJMSProducer(JMSProducer producer)
        Deprecated. 
        Parameters:
        producer - release the JMSProducer back to the pool.