Author: buildbot
Date: Sat Apr 27 07:22:05 2013
New Revision: 860081
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/book-component-appendix.html
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/camel-2120-release.html
websites/production/camel/content/spring-web-services.html
Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Sat Apr 27
07:22:05 2013
@@ -16208,7 +16208,7 @@ spring-ws:[mapping-type:]address[?option
<h3><a shape="rect" name="BookComponentAppendix-Messageheaders"></a>Message
headers</h3>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Type </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>CamelSpringWebserviceEndpointUri</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1"
rowspan="1" class="confluenceTd"> URI of the web service your accessing as a
client, overrides <em>address</em> part of the endpoint URI </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapAction</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1"
class="confluenceTd"> Header to specify the SOAP action of the message,
overrides <tt>soapAction</tt> option if present </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceAddressingAction</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> URI </td><td colspan="1"
rowspan="1" class="confluenceTd"> Use this header to specify the WS-Addressing
action of the message, overrides <tt>wsAddressingAction</tt> option if present
</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Type </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>CamelSpringWebserviceEndpointUri</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1"
rowspan="1" class="confluenceTd"> URI of the web service your accessing as a
client, overrides <em>address</em> part of the endpoint URI </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapAction</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1"
class="confluenceTd"> Header to specify the SOAP action of the message,
overrides <tt>soapAction</tt> option if present </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceAddressingAction</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> URI </td><td colspan="1"
rowspan="1" class="confluenceTd"> Use this header to specify the WS-Addressing
action of the message, overrides <tt>wsAddressingAction</tt> option if present
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapHeader</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Source </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11.1:</b> Use this header to specify/access
the SOAP headers of the message. </td></tr></tbody></table>
</div>
</div>
@@ -16248,6 +16248,33 @@ template.requestBodyAndHeader(<span clas
</pre>
</div></div>
+
+<h3><a shape="rect" name="BookComponentAppendix-UsingSOAPheaders"></a>Using
SOAP headers</h3>
+<p><b>Available as of Camel 2.11.1</b></p>
+
+<p>You can provide the SOAP header(s) as a Camel Message header when sending a
message to a spring-ws endpoint, for example given the following SOAP header in
a String</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-java">
+<span class="code-object">String</span> body = ...
+<span class="code-object">String</span> soapHeader = <span
class="code-quote">"<h:Header xmlns:h=\"</span>http:<span
class="code-comment">//www.webserviceX.NET/\<span
class="code-quote">"><h:MessageID>1234567890</h:MessageID><h:Nested><h:NestedID>1111</h:NestedID></h:Nested></h:Header>"</span>;</span>
+</pre>
+</div></div>
+
+<p>We can set the body and header on the Camel Message as follows:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-java">
+exchange.getIn().setBody(body);
+exchange.getIn().setHeader(SpringWebserviceConstants.SPRING_WS_SOAP_HEADER,
soapHeader);
+</pre>
+</div></div>
+
+<p>And then send the Exchange to a <tt>spring-ws</tt> endpoint to call the Web
Service.</p>
+
+<p>Likewise the spring-ws consumer will also enrich the Camel Message with the
SOAP header.</p>
+
+<p>For an example see this <a shape="rect" class="external-link"
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/SoapHeaderTest.java">unit
test</a>.</p>
+
+
<h3><a shape="rect"
name="BookComponentAppendix-Theheaderandattachmentpropagation"></a>The header
and attachment propagation</h3>
<p>Spring WS Camel supports propagation of the headers and attachments into
Spring-WS WebServiceMessage response since version <b>2.10.3</b>.<br
clear="none">
The endpoint will use so called "hook" the MessageFilter (default
implementation is provided by BasicMessageFilter) to propagate the exchange
headers and attachments into WebSdrviceMessage response.<br clear="none">
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 Sat Apr 27 07:22:05
2013
@@ -3183,15 +3183,19 @@ mock.allMessages().arrives().noLaterThan
</span><span class="code-comment">// and add your unit tests methods as shown
below.
</span><span class="code-keyword">public</span> class DebugBlueprintTest <span
class="code-keyword">extends</span> CamelBlueprintTestSupport {
+ <span class="code-keyword">private</span> <span
class="code-object">boolean</span> debugBeforeMethodCalled;
+ <span class="code-keyword">private</span> <span
class="code-object">boolean</span> debugAfterMethodCalled;
+
<span class="code-comment">// override <span
class="code-keyword">this</span> method, and <span
class="code-keyword">return</span> the location of our Blueprint XML file to be
used <span class="code-keyword">for</span> testing
</span> @Override
<span class="code-keyword">protected</span> <span
class="code-object">String</span> getBlueprintDescriptor() {
<span class="code-keyword">return</span> <span
class="code-quote">"org/apache/camel/test/blueprint/camelContext.xml"</span>;
}
-
- <span class="code-comment">// here we have regular Junit @Test method
+
+ <span class="code-comment">// here we have regular JUnit @Test method
</span> @Test
<span class="code-keyword">public</span> void testRoute() <span
class="code-keyword">throws</span> Exception {
+
<span class="code-comment">// set mock expectations
</span> getMockEndpoint(<span
class="code-quote">"mock:a"</span>).expectedMessageCount(1);
@@ -3200,8 +3204,29 @@ mock.allMessages().arrives().noLaterThan
<span class="code-comment">// <span class="code-keyword">assert</span>
mocks
</span> assertMockEndpointsSatisfied();
+
+ <span class="code-comment">// <span class="code-keyword">assert</span>
on the debugBefore/debugAfter methods below being called as we've enabled the
debugger
+</span> assertTrue(debugBeforeMethodCalled);
+ assertTrue(debugAfterMethodCalled);
}
+ @Override
+ <span class="code-keyword">public</span> <span
class="code-object">boolean</span> isUseDebugger() {
+ <span class="code-comment">// must enable debugger
+</span> <span class="code-keyword">return</span> <span
class="code-keyword">true</span>;
+ }
+
+ @Override
+ <span class="code-keyword">protected</span> void debugBefore(Exchange
exchange, org.apache.camel.Processor processor, ProcessorDefinition<?>
definition, <span class="code-object">String</span> id, <span
class="code-object">String</span> label) {
+ log.info(<span class="code-quote">"Before "</span> + definition +
<span class="code-quote">" with body "</span> + exchange.getIn().getBody());
+ debugBeforeMethodCalled = <span class="code-keyword">true</span>;
+ }
+
+ @Override
+ <span class="code-keyword">protected</span> void debugAfter(Exchange
exchange, org.apache.camel.Processor processor, ProcessorDefinition<?>
definition, <span class="code-object">String</span> id, <span
class="code-object">String</span> label, <span class="code-object">long</span>
timeTaken) {
+ log.info(<span class="code-quote">"After "</span> + definition + <span
class="code-quote">" with body "</span> + exchange.getIn().getBody());
+ debugAfterMethodCalled = <span class="code-keyword">true</span>;
+ }
}
</pre>
</div></div>
@@ -37192,7 +37217,7 @@ spring-ws:[mapping-type:]address[?option
<h3><a shape="rect" name="BookInOnePage-Messageheaders"></a>Message
headers</h3>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Type </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>CamelSpringWebserviceEndpointUri</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1"
rowspan="1" class="confluenceTd"> URI of the web service your accessing as a
client, overrides <em>address</em> part of the endpoint URI </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapAction</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1"
class="confluenceTd"> Header to specify the SOAP action of the message,
overrides <tt>soapAction</tt> option if present </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceAddressingAction</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> URI </td><td colspan="1"
rowspan="1" class="confluenceTd"> Use this header to specify the WS-Addressing
action of the message, overrides <tt>wsAddressingAction</tt> option if present
</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Type </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>CamelSpringWebserviceEndpointUri</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1"
rowspan="1" class="confluenceTd"> URI of the web service your accessing as a
client, overrides <em>address</em> part of the endpoint URI </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapAction</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1"
class="confluenceTd"> Header to specify the SOAP action of the message,
overrides <tt>soapAction</tt> option if present </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceAddressingAction</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> URI </td><td colspan="1"
rowspan="1" class="confluenceTd"> Use this header to specify the WS-Addressing
action of the message, overrides <tt>wsAddressingAction</tt> option if present
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapHeader</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Source </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11.1:</b> Use this header to specify/access
the SOAP headers of the message. </td></tr></tbody></table>
</div>
</div>
@@ -37232,6 +37257,33 @@ template.requestBodyAndHeader(<span clas
</pre>
</div></div>
+
+<h3><a shape="rect" name="BookInOnePage-UsingSOAPheaders"></a>Using SOAP
headers</h3>
+<p><b>Available as of Camel 2.11.1</b></p>
+
+<p>You can provide the SOAP header(s) as a Camel Message header when sending a
message to a spring-ws endpoint, for example given the following SOAP header in
a String</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-java">
+<span class="code-object">String</span> body = ...
+<span class="code-object">String</span> soapHeader = <span
class="code-quote">"<h:Header xmlns:h=\"</span>http:<span
class="code-comment">//www.webserviceX.NET/\<span
class="code-quote">"><h:MessageID>1234567890</h:MessageID><h:Nested><h:NestedID>1111</h:NestedID></h:Nested></h:Header>"</span>;</span>
+</pre>
+</div></div>
+
+<p>We can set the body and header on the Camel Message as follows:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-java">
+exchange.getIn().setBody(body);
+exchange.getIn().setHeader(SpringWebserviceConstants.SPRING_WS_SOAP_HEADER,
soapHeader);
+</pre>
+</div></div>
+
+<p>And then send the Exchange to a <tt>spring-ws</tt> endpoint to call the Web
Service.</p>
+
+<p>Likewise the spring-ws consumer will also enrich the Camel Message with the
SOAP header.</p>
+
+<p>For an example see this <a shape="rect" class="external-link"
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/SoapHeaderTest.java">unit
test</a>.</p>
+
+
<h3><a shape="rect"
name="BookInOnePage-Theheaderandattachmentpropagation"></a>The header and
attachment propagation</h3>
<p>Spring WS Camel supports propagation of the headers and attachments into
Spring-WS WebServiceMessage response since version <b>2.10.3</b>.<br
clear="none">
The endpoint will use so called "hook" the MessageFilter (default
implementation is provided by BasicMessageFilter) to propagate the exchange
headers and attachments into WebSdrviceMessage response.<br clear="none">
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/camel-2120-release.html
==============================================================================
--- websites/production/camel/content/camel-2120-release.html (original)
+++ websites/production/camel/content/camel-2120-release.html Sat Apr 27
07:22:05 2013
@@ -84,7 +84,7 @@
<p>Welcome to the 2.12.0 release which approx XXX issues resolved (new
features, improvements and bug fixes such as...)</p>
-<ul><li><a shape="rect" href="endpoint-annotations.html" title="Endpoint
Annotations">Endpoint Annotations</a> along with automatically created HTML
documentation for the endpoint parameters; this makes it easier for component
developers to add a few refactoring-safe annotations to their Endpoint or
Consumer implementations and, (along with javadoc comments on the field or
setter method), get nice user documentation on how to use the endpoint for
free.</li><li><a shape="rect" href="componentconfiguration.html"
title="ComponentConfiguration">ComponentConfiguration</a> API provides a handy
API for tools developers to introspect on a Component to find all the possible
parameters, their types and any extra annotations (like Bean Validation
Annotations) to be able to create/edit endpoints or URI strings so that tools
can generate nicer UIs for configuring endpoints than just letting folks edit
Strings.</li></ul>
+<ul><li><a shape="rect" href="endpoint-annotations.html" title="Endpoint
Annotations">Endpoint Annotations</a> along with automatically created HTML
documentation for the endpoint parameters; this makes it easier for component
developers to add a few refactoring-safe annotations to their Endpoint or
Consumer implementations and, (along with javadoc comments on the field or
setter method), get nice user documentation on how to use the endpoint for
free.</li><li><a shape="rect" href="componentconfiguration.html"
title="ComponentConfiguration">ComponentConfiguration</a> API provides a handy
API for tools developers to introspect on a Component to find all the possible
parameters, their types and any extra annotations (like Bean Validation
Annotations) to be able to create/edit endpoints or URI strings so that tools
can generate nicer UIs for configuring endpoints than just letting folks edit
Strings.</li><li><a shape="rect" href="spring-web-services.html" title="Spring
Web Serv
ices">Spring Web Services</a> now supports setting/receiving SOAP headers more
easily using a header on the Camel <a shape="rect" href="message.html"
title="Message">Message</a>.</li></ul>
<h3><a shape="rect" name="Camel2.12.0Release-FixedIssues"></a>Fixed Issues</h3>
Modified: websites/production/camel/content/spring-web-services.html
==============================================================================
--- websites/production/camel/content/spring-web-services.html (original)
+++ websites/production/camel/content/spring-web-services.html Sat Apr 27
07:22:05 2013
@@ -139,7 +139,7 @@ spring-ws:[mapping-type:]address[?option
<h3><a shape="rect" name="SpringWebServices-Messageheaders"></a>Message
headers</h3>
<div class="confluenceTableSmall"><div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Type </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>CamelSpringWebserviceEndpointUri</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1"
rowspan="1" class="confluenceTd"> URI of the web service your accessing as a
client, overrides <em>address</em> part of the endpoint URI </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapAction</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1"
class="confluenceTd"> Header to specify the SOAP action of the message,
overrides <tt>soapAction</tt> option if present </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceAddressingAction</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> URI </td><td colspan="1"
rowspan="1" class="confluenceTd"> Use this header to specify the WS-Addressing
action of the message, overrides <tt>wsAddressingAction</tt> option if present
</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1"
class="confluenceTh"> Type </th><th colspan="1" rowspan="1"
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> <tt>CamelSpringWebserviceEndpointUri</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1"
rowspan="1" class="confluenceTd"> URI of the web service your accessing as a
client, overrides <em>address</em> part of the endpoint URI </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapAction</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1"
class="confluenceTd"> Header to specify the SOAP action of the message,
overrides <tt>soapAction</tt> option if present </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceAddressingAction</tt> </td><td
colspan="1" rowspan="1" class="confluenceTd"> URI </td><td colspan="1"
rowspan="1" class="confluenceTd"> Use this header to specify the WS-Addressing
action of the message, overrides <tt>wsAddressingAction</tt> option if present
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
<tt>CamelSpringWebserviceSoapHeader</tt> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Source </td><td colspan="1" rowspan="1"
class="confluenceTd"> <b>Camel 2.11.1:</b> Use this header to specify/access
the SOAP headers of the message. </td></tr></tbody></table>
</div>
</div>
@@ -179,6 +179,33 @@ template.requestBodyAndHeader(<span clas
</pre>
</div></div>
+
+<h3><a shape="rect" name="SpringWebServices-UsingSOAPheaders"></a>Using SOAP
headers</h3>
+<p><b>Available as of Camel 2.11.1</b></p>
+
+<p>You can provide the SOAP header(s) as a Camel Message header when sending a
message to a spring-ws endpoint, for example given the following SOAP header in
a String</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-java">
+<span class="code-object">String</span> body = ...
+<span class="code-object">String</span> soapHeader = <span
class="code-quote">"<h:Header xmlns:h=\"</span>http:<span
class="code-comment">//www.webserviceX.NET/\<span
class="code-quote">"><h:MessageID>1234567890</h:MessageID><h:Nested><h:NestedID>1111</h:NestedID></h:Nested></h:Header>"</span>;</span>
+</pre>
+</div></div>
+
+<p>We can set the body and header on the Camel Message as follows:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-java">
+exchange.getIn().setBody(body);
+exchange.getIn().setHeader(SpringWebserviceConstants.SPRING_WS_SOAP_HEADER,
soapHeader);
+</pre>
+</div></div>
+
+<p>And then send the Exchange to a <tt>spring-ws</tt> endpoint to call the Web
Service.</p>
+
+<p>Likewise the spring-ws consumer will also enrich the Camel Message with the
SOAP header.</p>
+
+<p>For an example see this <a shape="rect" class="external-link"
href="https://svn.apache.org/repos/asf/camel/trunk/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/SoapHeaderTest.java">unit
test</a>.</p>
+
+
<h3><a shape="rect"
name="SpringWebServices-Theheaderandattachmentpropagation"></a>The header and
attachment propagation</h3>
<p>Spring WS Camel supports propagation of the headers and attachments into
Spring-WS WebServiceMessage response since version <b>2.10.3</b>.<br
clear="none">
The endpoint will use so called "hook" the MessageFilter (default
implementation is provided by BasicMessageFilter) to propagate the exchange
headers and attachments into WebSdrviceMessage response.<br clear="none">