activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hhhieu <hie...@gmail.com>
Subject ActiveMQConnectionFactory destroy-method="stop"
Date Tue, 31 Oct 2006 23:48:59 GMT

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.


Mime
View raw message