Author: buildbot
Date: Fri Jul 13 10:19:54 2012
New Revision: 825670

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/book-pattern-appendix.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/transactional-client.html

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Fri Jul 13 10:19:54 
2012
@@ -19807,7 +19807,12 @@ This is after all based on a unit test.<
 </div></div>
 
 <p>As its a unit test we need to setup the database and this is easily done 
with Spring JdbcTemplate</p>
-<div class="error"><span class="error">Error formatting macro: snippet: 
java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java"><span class="code-comment">// create database (dummy 
data already inserted by Spring)
+</span><span class="code-keyword">final</span> DataSource ds = 
getMandatoryBean(DataSource.class, <span 
class="code-quote">"dataSource"</span>);
+jdbc = <span class="code-keyword">new</span> JdbcTemplate(ds);
+</pre>
+</div></div>
 
 <p>And our core business service, the book service, will accept any books 
except the Donkeys.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
@@ -23561,22 +23566,15 @@ Unlike the <tt>camel-restlet</tt>, you d
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
 <pre class="code-java">@Path(<span 
class="code-quote">"/customerservice/"</span>)
-<span class="code-keyword">public</span> class CustomerServiceResource {
-
-    <span class="code-keyword">public</span> CustomerServiceResource() {
-    }
+<span class="code-keyword">public</span> <span 
class="code-keyword">interface</span> CustomerServiceResource {
 
     @GET
     @Path(<span class="code-quote">"/customers/{id}/"</span>)
-    <span class="code-keyword">public</span> Customer 
getCustomer(@PathParam(<span class="code-quote">"id"</span>) <span 
class="code-object">String</span> id) {
-        <span class="code-keyword">return</span> <span 
class="code-keyword">null</span>;
-    }
+    Customer getCustomer(@PathParam(<span class="code-quote">"id"</span>) 
<span class="code-object">String</span> id);
 
     @PUT
     @Path(<span class="code-quote">"/customers/"</span>)
-    <span class="code-keyword">public</span> Response updateCustomer(Customer 
customer) {
-        <span class="code-keyword">return</span> <span 
class="code-keyword">null</span>;
-    }
+    Response updateCustomer(Customer customer);
 }
 </pre>
 </div></div>

Modified: websites/production/camel/content/book-pattern-appendix.html
==============================================================================
--- websites/production/camel/content/book-pattern-appendix.html (original)
+++ websites/production/camel/content/book-pattern-appendix.html Fri Jul 13 
10:19:54 2012
@@ -5543,7 +5543,12 @@ This is after all based on a unit test.<
 </div></div>
 
 <p>As its a unit test we need to setup the database and this is easily done 
with Spring JdbcTemplate</p>
-<div class="error"><span class="error">Error formatting macro: snippet: 
java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java"><span class="code-comment">// create database (dummy 
data already inserted by Spring)
+</span><span class="code-keyword">final</span> DataSource ds = 
getMandatoryBean(DataSource.class, <span 
class="code-quote">"dataSource"</span>);
+jdbc = <span class="code-keyword">new</span> JdbcTemplate(ds);
+</pre>
+</div></div>
 
 <p>And our core business service, the book service, will accept any books 
except the Donkeys.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">

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

Modified: websites/production/camel/content/transactional-client.html
==============================================================================
--- websites/production/camel/content/transactional-client.html (original)
+++ websites/production/camel/content/transactional-client.html Fri Jul 13 
10:19:54 2012
@@ -256,7 +256,12 @@ This is after all based on a unit test.<
 </div></div>
 
 <p>As its a unit test we need to setup the database and this is easily done 
with Spring JdbcTemplate</p>
-<div class="error"><span class="error">Error formatting macro: snippet: 
java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java"><span class="code-comment">// create database (dummy 
data already inserted by Spring)
+</span><span class="code-keyword">final</span> DataSource ds = 
getMandatoryBean(DataSource.class, <span 
class="code-quote">"dataSource"</span>);
+jdbc = <span class="code-keyword">new</span> JdbcTemplate(ds);
+</pre>
+</div></div>
 
 <p>And our core business service, the book service, will accept any books 
except the Donkeys.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">


Reply via email to