svn commit: r564277 - /activemq/camel/trunk/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r564277 - /activemq/camel/trunk/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml

jstrachan-2
Author: jstrachan
Date: Thu Aug  9 09:48:26 2007
New Revision: 564277

URL: http://svn.apache.org/viewvc?view=rev&rev=564277
Log:
added a simple database explorer to the demo so its easier to see stuff being inserted into the database

Modified:
    activemq/camel/trunk/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml

Modified: activemq/camel/trunk/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml?view=diff&rev=564277&r1=564276&r2=564277
==============================================================================
--- activemq/camel/trunk/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml (original)
+++ activemq/camel/trunk/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml Thu Aug  9 09:48:26 2007
@@ -50,4 +50,15 @@
     <property name="persistenceUnitName" value="camel"/>
   </bean>
 
+  <!-- lets show a simple UI to browse the database -->
+  <bean id="databaseExplorer" class="org.apache.camel.spring.util.MainRunner" lazy-init="false">
+    <property name="main" value="org.hsqldb.util.DatabaseManagerSwing"/>
+    <property name="args">
+      <list>
+        <value>--url</value>
+        <value>jdbc:hsqldb:mem:camel_etl</value>
+      </list>
+    </property>
+    <property name="delay" value="1000"/>
+  </bean>
 </beans>