You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/10/06 17:18:40 UTC
svn commit: r881457 - in /websites/production/camel/content:
cache/main.pageCache jsonpath.html
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 < 10)]")
+ .when().jsonpath("$.store.book[?(@.price < 10)]")
.to("jms:queue:book.cheap")
- .when().jsonPath("$.store.book[?(@.price < 30)]")
+ .when().jsonpath("$.store.book[?(@.price < 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
}
}