Hi 

I have commented the broker configurations from application-context.xml but
broker is created automatically. My app-context file has bean to create
connection to the broker. I want the broker to be created by another
application but that one fails because my first application already creates
the broker. How do i avoid this scenario ? Can you please clarify ? 




        
        <bean id="springJmsFactory"
class="org.apache.activemq.pool.PooledConnectionFactory"
                destroy-method="stop">
                <property name="connectionFactory">
                        <bean 
class="org.apache.activemq.ActiveMQConnectionFactory">
                                <property name="brokerURL" 
value="vm://localhost" />
                                <property name="sendTimeout" value="300000" />
                                <property name="prefetchPolicy">
                                        <bean 
class="org.apache.activemq.ActiveMQPrefetchPolicy">
                                                <property name="topicPrefetch" 
value="100"/>                                    
                                        </bean>
                                </property>
                        </bean>
                </property>
        </bean>



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Active-MQ-broker-is-created-even-without-config-tp4663390.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to