You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by hhhieu <hi...@gmail.com> on 2006/11/01 00:48:59 UTC

ActiveMQConnectionFactory destroy-method="stop"

Hi all

I've had this as my bean definition working with Active MQ 3.1

<bean class="org.activemq.ActiveMQConnectionFactory" destroy-method="stop">

On upgrading to 4.0.1, I've had to modify this to 
org.apache.activemq.ActiveMQConnectionFactory and remove the destroy-method. 
Does anyone know what the work around or alternate approach to the previous
stop() method is ?  Or does the PooledConnectionFactory stop method take
care of this ?  Here's the entire definition:

<bean id="jmsConnectionFactory"
class="org.apache.activemq.pool.PooledConnectionFactory"
destroy-method="stop">
		<property name="connectionFactory">
            <bean class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL">
                    <value>vm://localhost</value>
                </property>
            </bean>
        </property>
	</bean>


-- 
View this message in context: http://www.nabble.com/ActiveMQConnectionFactory-destroy-method%3D%22stop%22-tf2549340.html#a7105457
Sent from the ActiveMQ - User mailing list archive at Nabble.com.