You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2007/06/15 14:38:44 UTC

svn commit: r547654 - in /activemq/camel/trunk/examples/camel-example-jms-file: README.txt pom.xml

Author: jstrachan
Date: Fri Jun 15 05:38:42 2007
New Revision: 547654

URL: http://svn.apache.org/viewvc?view=rev&rev=547654
Log:
added a simple way to run the example

Modified:
    activemq/camel/trunk/examples/camel-example-jms-file/README.txt
    activemq/camel/trunk/examples/camel-example-jms-file/pom.xml

Modified: activemq/camel/trunk/examples/camel-example-jms-file/README.txt
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-jms-file/README.txt?view=diff&rev=547654&r1=547653&r2=547654
==============================================================================
--- activemq/camel/trunk/examples/camel-example-jms-file/README.txt (original)
+++ activemq/camel/trunk/examples/camel-example-jms-file/README.txt Fri Jun 15 05:38:42 2007
@@ -4,10 +4,12 @@
 This example shows how to work with files and JMS.
 The example consumes messages from a queue and writes them to the file system.
 
-
 For the latest & greatest documentation on how to use this example please see
   http://activemq.apache.org/camel/walk-through-an-example.html
 
+The example should run if you type
+  mvn exec:java
+  
 If you hit any problems please talk to us on the Camel Forums
   http://activemq.apache.org/camel/discussion-forums.html
 

Modified: activemq/camel/trunk/examples/camel-example-jms-file/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-jms-file/pom.xml?view=diff&rev=547654&r1=547653&r2=547654
==============================================================================
--- activemq/camel/trunk/examples/camel-example-jms-file/pom.xml (original)
+++ activemq/camel/trunk/examples/camel-example-jms-file/pom.xml Fri Jun 15 05:38:42 2007
@@ -56,4 +56,35 @@
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>java</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <mainClass>org.apache.camel.example.jmstofile.CamelJmsToFileExample</mainClass>
+
+          <arguments>
+            <!--<argument>argument1</argument>-->
+          </arguments>
+
+          <systemProperties>
+<!--
+            <systemProperty>
+              <key>myproperty</key>
+              <value>myvalue</value>
+            </systemProperty>
+-->
+          </systemProperties>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>