activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jevans12 <jevan...@harris.com>
Subject Re: Using embedded broker with spring in activemq 4.0.1
Date Mon, 26 Jun 2006 13:19:55 GMT

Note, you can configure AMQ4 with Spring 2.0 w/o xbean by moving the
configuration in your activemq.xml over to your spring context files. ie:
here is my embedded broker

<!-- JMS Beans -->
	<bean id="connectionFactory"
		class="org.apache.activemq.pool.PooledConnectionFactory">
		<property name="connectionFactory">
			<bean
				class="org.apache.activemq.ActiveMQConnectionFactory">
				<property name="brokerURL"
					value="vm:(broker:(${broker.url})?persistent=false)" />
				<property name="copyMessageOnSend" value="false" />
			</bean>
		</property>
	</bean>
--
View this message in context: http://www.nabble.com/Using-embedded-broker-with-spring-in-activemq-4.0.1-t1836224.html#a5046884
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message