activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r519957 - in /activemq/camel/trunk: camel-core/src/test/java/org/apache/camel/RouteBuilderTest.java pom.xml
Date Mon, 19 Mar 2007 14:29:12 GMT
Author: jstrachan
Date: Mon Mar 19 07:29:11 2007
New Revision: 519957

URL: http://svn.apache.org/viewvc?view=rev&rev=519957
Log:
updated pom distro locations and added some snippet macros

Modified:
    activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/RouteBuilderTest.java
    activemq/camel/trunk/pom.xml

Modified: activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/RouteBuilderTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/RouteBuilderTest.java?view=diff&rev=519957&r1=519956&r2=519957
==============================================================================
--- activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/RouteBuilderTest.java (original)
+++ activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/RouteBuilderTest.java Mon
Mar 19 07:29:11 2007
@@ -39,11 +39,13 @@
     };
 
     public void testSimpleRoute() throws Exception {
+        // START SNIPPET: e1
         RouteBuilder<Exchange> builder = new RouteBuilder<Exchange>() {
             public void configure() {
                 from("seda://a").to("seda://b");
             }
         };
+        // END SNIPPET: e1
 
         Map<Endpoint<Exchange>, Processor<Exchange>> routeMap = builder.getRouteMap();
         Set<Map.Entry<Endpoint<Exchange>, Processor<Exchange>>> routes
= routeMap.entrySet();
@@ -60,11 +62,13 @@
     }
 
     public void testSimpleRouteWithHeaderPredicate() throws Exception {
+        // START SNIPPET: e2
         RouteBuilder<Exchange> builder = new RouteBuilder<Exchange>() {
             public void configure() {
                 from("seda://a").filter(headerEquals("foo", "bar")).to("seda://b");
             }
         };
+        // END SNIPPET: e2
 
         Map<Endpoint<Exchange>, Processor<Exchange>> routeMap = builder.getRouteMap();
         System.out.println("Created map: " + routeMap);
@@ -85,6 +89,7 @@
     }
 
     public void testSimpleRouteWithChoice() throws Exception {
+        // START SNIPPET: e3
         RouteBuilder<Exchange> builder = new RouteBuilder<Exchange>() {
             public void configure() {
                 from("seda://a").choice()
@@ -93,6 +98,7 @@
                         .otherwise().to("seda://d");
             }
         };
+        // END SNIPPET: e3
 
         Map<Endpoint<Exchange>, Processor<Exchange>> routeMap = builder.getRouteMap();
         System.out.println("Created map: " + routeMap);
@@ -121,11 +127,13 @@
     }
 
     public void testCustomProcessor() throws Exception {
+        // START SNIPPET: e4
         RouteBuilder<Exchange> builder = new RouteBuilder<Exchange>() {
             public void configure() {
                 from("seda://a").process(myProcessor);
             }
         };
+        // END SNIPPET: e4
 
         Map<Endpoint<Exchange>, Processor<Exchange>> routeMap = builder.getRouteMap();
         System.out.println("Created map: " + routeMap);
@@ -142,11 +150,13 @@
     }
 
     public void testCustomProcessorWithFilter() throws Exception {
+        // START SNIPPET: e5
         RouteBuilder<Exchange> builder = new RouteBuilder<Exchange>() {
             public void configure() {
                 from("seda://a").filter(headerEquals("foo", "bar")).process(myProcessor);
             }
         };
+        // END SNIPPET: e5
 
         Map<Endpoint<Exchange>, Processor<Exchange>> routeMap = builder.getRouteMap();
         System.out.println("Created map: " + routeMap);

Modified: activemq/camel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/pom.xml?view=diff&rev=519957&r1=519956&r2=519957
==============================================================================
--- activemq/camel/trunk/pom.xml (original)
+++ activemq/camel/trunk/pom.xml Mon Mar 19 07:29:11 2007
@@ -93,7 +93,7 @@
     <repository>
       <id>apache.incubating.releases</id>
       <name>Apache Incubating Release Distribution Repository</name>
-      <url>${dist-repo-url}</url>
+      <url>scpexe://minotaur.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
     </repository>
     <snapshotRepository>
       <id>apache.snapshots</id>
@@ -102,7 +102,7 @@
     </snapshotRepository>
     <site>
       <id>apache.website</id>
-      <url>${site-repo-url}</url>
+      <url>scpexe://people.apache.org/www/activemq.apache.org/camel/maven/</url>
     </site>
   </distributionManagement>
 



Mime
View raw message