Skip to content

Commit

Permalink
Changed ActiveMQ broker used in tests to an in-memory, in-VM broker f…
Browse files Browse the repository at this point in the history
…or better test execution speed
  • Loading branch information
ajs6f committed Feb 8, 2013
1 parent 3f21576 commit 114bde2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions fcrepo-jms/src/test/resources/spring-test/jms.xml
Expand Up @@ -13,14 +13,8 @@
<!-- publishes events from the internal bus to JMS, in Atom format -->
<bean class="org.fcrepo.observer.JMSTopicAtomPublisher"/>

<bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"
depends-on="jmsBroker">
<property name="brokerURL" value="vm://localhost?create=false"/>
</bean>

<bean name="jmsBroker" class="org.apache.activemq.xbean.BrokerFactoryBean">
<property name="config" value="classpath:/META-INF/spring/activemq.xml"/>
<property name="start" value="true"/>
<bean class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="vm://localhost?broker.persistent=false&amp;broker.useJmx=false&amp;broker.enableStatistics=false"/>
</bean>

</beans>

0 comments on commit 114bde2

Please sign in to comment.