<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC  "-//ACTIVEMQ//DTD//EN" "http://activemq.org/dtd/activemq.dtd">
<beans>

  <!-- ==================================================================== -->
  <!-- ActiveMQ Broker Configuration -->
  <!-- ==================================================================== -->
  <broker>
    <connector>
      <serverTransport uri="vm://localhost"/>
    </connector>
    <connector>
      <tcpServerTransport uri="tcp://localhost:61616" backlog="1000" useAsyncSend="true" maxOutstandingMessages="50"/>
    </connector>

    <persistence>
      <!-- you can point this to a different datasource -->
      <jdbcPersistence dataSourceRef="axion-ds"/>
    </persistence>
  </broker>

  <!-- A simple in memory Axion Datasource for testing -->

  <bean name="axion-ds" class="org.axiondb.jdbc.AxionDataSource" autowire="constructor">
    <constructor-arg>
      <value>jdbc:axiondb:activemq-ramdb</value>
    </constructor-arg>
  </bean>
</beans>
