org.apache.axis2.transport.jms.JMSListener.stop() doesn't shutdown the thread pool created in start() for JMSMessageReceiver ----------------------------------------------------------------------------------------------------------------------------
Key: AXIS2-3685 URL: https://issues.apache.org/jira/browse/AXIS2-3685 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: transports Affects Versions: 1.3 Reporter: Raymond Feng In JMSListener.start(), there is a thread pool created for the JMSMessageReceiver. But the thread pool is not shutdown in the stop() method. As a result, the java process cannot be terminated gracefully unless System.exit() is called. public void start() throws AxisFault { // create thread pool of workers ExecutorService workerPool = new ThreadPoolExecutor( 1, WORKERS_MAX_THREADS, WORKER_KEEP_ALIVE, TIME_UNIT, new LinkedBlockingQueue(), new org.apache.axis2.util.threadpool.DefaultThreadFactory( new ThreadGroup("JMS Worker thread group"), "JMSWorker")); Iterator iter = connectionFactories.values().iterator(); while (iter.hasNext()) { JMSConnectionFactory conFac = (JMSConnectionFactory) iter.next(); JMSMessageReceiver msgRcvr = new JMSMessageReceiver(conFac, workerPool, configCtx); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]