camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r881457 - in /websites/production/camel/content: cache/main.pageCache jsonpath.html
Date Sun, 06 Oct 2013 15:18:40 GMT
Author: buildbot
Date: Sun Oct  6 15:18:40 2013
New Revision: 881457

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/jsonpath.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/jsonpath.html
==============================================================================
--- websites/production/camel/content/jsonpath.html (original)
+++ websites/production/camel/content/jsonpath.html Sun Oct  6 15:18:40 2013
@@ -94,9 +94,9 @@
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 from("queue:books.new")
   .choice()
-    .when().jsonPath("$.store.book[?(@.price &lt; 10)]")
+    .when().jsonpath("$.store.book[?(@.price &lt; 10)]")
       .to("jms:queue:book.cheap")
-    .when().jsonPath("$.store.book[?(@.price &lt; 30)]")
+    .when().jsonpath("$.store.book[?(@.price &lt; 30)]")
       .to("jms:queue:book.average")
     .otherwise()
       .to("jms:queue:book.expensive")
@@ -146,7 +146,7 @@ from("queue:books.new")
 public class Foo {
 	
     @Consume(uri = "activemq:queue:books.new")
-    public void doSomething(@JSonPath("$.store.book[*].author") String author, @Body String
json) {
+    public void doSomething(@JsonPath("$.store.book[*].author") String author, @Body String
json) {
       // process the inbound message here
     }
 }



Mime
View raw message