Title: [725] trunk/assembly/src/release/conf/servicemix.xml: Update the main servicemix configuration file
Revision
725
Author
gnt
Date
2005-11-02 08:50:34 -0500 (Wed, 02 Nov 2005)

Log Message

Update the main servicemix configuration file

Modified Paths


Diff

Modified: trunk/assembly/src/release/conf/servicemix.xml (724 => 725)

--- trunk/assembly/src/release/conf/servicemix.xml	2005-11-02 11:32:59 UTC (rev 724)
+++ trunk/assembly/src/release/conf/servicemix.xml	2005-11-02 13:50:34 UTC (rev 725)
@@ -1,32 +1,43 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns:my="http://servicemix.org/demo/">
+<beans xmlns="http://xbean.org/schemas/spring/1.0"
+	xmlns:spring="http://xbean.org/schemas/spring/1.0"
+	xmlns:sm="http://servicemix.org/config/1.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://xbean.org/schemas/spring/1.0 spring-beans.xsd
+	                    http://servicemix.org/config/1.0 servicemix.xsd">
 
 
   <!-- the JBI container -->
-  <container id="jbi">
-   <property name="rootDir" value="../wdir"/>
-   <property name="useMBeanServer" value="true"/>
-   <property name="createMBeanServer" value="true"/>
-   <property name="installationDirPath" value="../install"/>
-   <property name="deploymentDirPath" value="../deploy"/>
-   <property name="monitorInstallationDirectory" value="true"/>
-   <property name="dumpStats" value="true"/>
-   <property name="statsInterval" value="10"/>
-   <property name="flowName" value = "seda"/>
-   <property name="transactionManager" ref="transactionManager"/>
+	<!-- the JBI container -->
+	<sm:container spring:id="jbi" 
+          rootDir="../wdir" 
+          useMBeanServer="true"
+		  createMBeanServer="true" 
+          installationDirPath="../install"
+          deploymentDirPath="../deploy"
+		  monitorInstallationDirectory="true" 
+          dumpStats="true"
+		  statsInterval="10" 
+		  flowName="seda"
+          transactionManager="#transactionManager">
 
-    <components>
-    </components>
-  </container>
+		<sm:activationSpecs>
+		
+		</sm:activationSpecs>
+	</sm:container>
 
-  <bean id="transactionManager" class="org.jencks.factory.TransactionManagerFactoryBean"/>
+  <bean id="transactionContextManager" class="org.jencks.factory.TransactionContextManagerFactoryBean"/>
+  <bean id="transactionManager" class="org.jencks.factory.GeronimoTransactionManagerFactoryBean" />
 
+  <!-- message broker -->
+  <bean id="broker" class="org.activemq.spring.BrokerFactoryBean">
+     <property name="config" value="classpath:activemq.xml"/>
+  </bean>
+
   <bean id="jmsFactory" class="org.activemq.pool.PooledConnectionFactory">
     <property name="connectionFactory">
       <bean class="org.activemq.ActiveMQConnectionFactory">
-        <property name="brokerURL">
-          <value>tcp://localhost:61616</value>
-        </property>
+        <property name="brokerURL" value="tcp://localhost:61616"/>
       </bean>
     </property>
   </bean>

Reply via email to