camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r548617 - in /activemq/camel/trunk/examples/camel-example-spring: README.txt src/main/resources/META-INF/spring/camel-context.xml
Date Tue, 19 Jun 2007 07:06:33 GMT
Author: jstrachan
Date: Tue Jun 19 00:06:32 2007
New Revision: 548617

URL: http://svn.apache.org/viewvc?view=rev&rev=548617
Log:
got the example working

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

Modified: activemq/camel/trunk/examples/camel-example-spring/README.txt
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/README.txt?view=diff&rev=548617&r1=548616&r2=548617
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/README.txt (original)
+++ activemq/camel/trunk/examples/camel-example-spring/README.txt Tue Jun 19 00:06:32 2007
@@ -7,7 +7,10 @@
 The example consumes messages from a queue and writes them to the file system.
 
 To run the example type
-  mvn camel:java
+  mvn camel:run
+
+You can see the routing rules by looking at the java code in the src/main/java directory
+and the Spring XML configuration lives in src/main/resources/META-INF/spring
 
 For the latest & greatest documentation on how to use this example please see
   http://activemq.apache.org/camel/spring-example.html

Modified: activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml?view=diff&rev=548617&r1=548616&r2=548617
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml
(original)
+++ activemq/camel/trunk/examples/camel-example-spring/src/main/resources/META-INF/spring/camel-context.xml
Tue Jun 19 00:06:32 2007
@@ -32,4 +32,8 @@
   <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/camel-1.0.xsd"
packages="org.apache.camel.example.spring">
   </camelContext>
 
+  <!-- lets configure the default ActiveMQ broker URL -->
+  <bean id="activemq" class="org.apache.camel.component.activemq.ActiveMQComponent">
+    <property name="brokerURL" value="vm://localhost?broker.persistent=false"/>
+  </bean>
 </beans>



Mime
View raw message