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 2012/07/05 10:21:12 UTC

svn commit: r824513 - in /websites/production/camel/content: book-dataformat-appendix.html book-in-one-page.html cache/main.pageCache camel-2110-release.html cdi.html soap.html

Author: buildbot
Date: Thu Jul  5 08:21:12 2012
New Revision: 824513

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-dataformat-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2110-release.html
    websites/production/camel/content/cdi.html
    websites/production/camel/content/soap.html

Modified: websites/production/camel/content/book-dataformat-appendix.html
==============================================================================
--- websites/production/camel/content/book-dataformat-appendix.html (original)
+++ websites/production/camel/content/book-dataformat-appendix.html Thu Jul  5 08:21:12 2012
@@ -2891,7 +2891,7 @@ message AddressBook {
 
 <p>SOAP is a <a shape="rect" href="data-format.html" title="Data Format">Data Format</a> which uses JAXB2 and JAX-WS annotations to marshal and unmarshal SOAP payloads. It provides the basic features of Apache CXF without need for the CXF Stack.</p>
 
-<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Supported SOAP versions</b><br clear="none">Currently only SOAP 1.1 is supported.</td></tr></table></div>
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Supported SOAP versions</b><br clear="none">SOAP 1.1 is supported by default. SOAP 1.2 is supported from Camel 2.11 onwards.</td></tr></table></div>
 
 <h3><a shape="rect" name="BookDataFormatAppendix-ElementNameStrategy"></a>ElementNameStrategy</h3>
 
@@ -2919,6 +2919,43 @@ from(<span class="code-quote">"direct:st
 
 <div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>See also</b><br clear="none">As the SOAP dataformat inherits from the <a shape="rect" href="jaxb.html" title="JAXB">JAXB</a> dataformat most settings apply here as well</td></tr></table></div>
 
+<h4><a shape="rect" name="BookDataFormatAppendix-UsingSOAP1.2"></a>Using SOAP 1.2</h4>
+<p><b>Available as of Camel 2.11</b></p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+SoapJaxbDataFormat soap = <span class="code-keyword">new</span> SoapJaxbDataFormat(<span class="code-quote">"com.example.customerservice"</span>, <span class="code-keyword">new</span> ServiceInterfaceStrategy(CustomerService.class));
+soap.setVersion(<span class="code-quote">"1.2"</span>);
+from(<span class="code-quote">"direct:start"</span>)
+  .marshal(soap)
+  .to(<span class="code-quote">"jms:myQueue"</span>);
+</pre>
+</div></div>
+
+<p>When using XML DSL there is a version attribute you can set on the &lt;soap&gt; element.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+    <span class="code-tag"><span class="code-comment">&lt;!-- Defining a ServiceInterfaceStrategy for retrieving the element name when marshalling --&gt;</span></span>
+    <span class="code-tag">&lt;bean id=<span class="code-quote">"myNameStrategy"</span> class=<span class="code-quote">"org.apache.camel.dataformat.soap.name.ServiceInterfaceStrategy"</span>&gt;</span>
+    	<span class="code-tag">&lt;constructor-arg value=<span class="code-quote">"com.example.customerservice.CustomerService"</span>/&gt;</span>
+	<span class="code-tag">&lt;constructor-arg value=<span class="code-quote">"true"</span>/&gt;</span>
+    <span class="code-tag">&lt;/bean&gt;</span>
+</pre>
+</div></div>
+
+<p>And in the Camel route</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+<span class="code-tag">&lt;route&gt;</span>
+  <span class="code-tag">&lt;from uri=<span class="code-quote">"direct:start"</span>/&gt;</span>
+  <span class="code-tag">&lt;marshal&gt;</span>
+    <span class="code-tag">&lt;soap contentPath=<span class="code-quote">"com.example.customerservice"</span> version=<span class="code-quote">"1.2"</span> elementNameStrategyRef=<span class="code-quote">"myNameStrategy"</span>/&gt;</span>
+  <span class="code-tag">&lt;/marshal&gt;</span>
+  <span class="code-tag">&lt;to uri=<span class="code-quote">"jms:myQueue"</span>/&gt;</span>
+<span class="code-tag">&lt;/route&gt;</span>
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookDataFormatAppendix-MultipartMessages"></a>Multi-part Messages</h3>
 <p><b>Available as of Camel 2.8.1</b> </p>
 

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 Thu Jul  5 08:21:12 2012
@@ -13758,7 +13758,7 @@ message AddressBook {
 
 <p>SOAP is a <a shape="rect" href="data-format.html" title="Data Format">Data Format</a> which uses JAXB2 and JAX-WS annotations to marshal and unmarshal SOAP payloads. It provides the basic features of Apache CXF without need for the CXF Stack.</p>
 
-<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Supported SOAP versions</b><br clear="none">Currently only SOAP 1.1 is supported.</td></tr></table></div>
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Supported SOAP versions</b><br clear="none">SOAP 1.1 is supported by default. SOAP 1.2 is supported from Camel 2.11 onwards.</td></tr></table></div>
 
 <h3><a shape="rect" name="BookInOnePage-ElementNameStrategy"></a>ElementNameStrategy</h3>
 
@@ -13786,6 +13786,43 @@ from(<span class="code-quote">"direct:st
 
 <div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>See also</b><br clear="none">As the SOAP dataformat inherits from the <a shape="rect" href="jaxb.html" title="JAXB">JAXB</a> dataformat most settings apply here as well</td></tr></table></div>
 
+<h4><a shape="rect" name="BookInOnePage-UsingSOAP1.2"></a>Using SOAP 1.2</h4>
+<p><b>Available as of Camel 2.11</b></p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+SoapJaxbDataFormat soap = <span class="code-keyword">new</span> SoapJaxbDataFormat(<span class="code-quote">"com.example.customerservice"</span>, <span class="code-keyword">new</span> ServiceInterfaceStrategy(CustomerService.class));
+soap.setVersion(<span class="code-quote">"1.2"</span>);
+from(<span class="code-quote">"direct:start"</span>)
+  .marshal(soap)
+  .to(<span class="code-quote">"jms:myQueue"</span>);
+</pre>
+</div></div>
+
+<p>When using XML DSL there is a version attribute you can set on the &lt;soap&gt; element.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+    <span class="code-tag"><span class="code-comment">&lt;!-- Defining a ServiceInterfaceStrategy for retrieving the element name when marshalling --&gt;</span></span>
+    <span class="code-tag">&lt;bean id=<span class="code-quote">"myNameStrategy"</span> class=<span class="code-quote">"org.apache.camel.dataformat.soap.name.ServiceInterfaceStrategy"</span>&gt;</span>
+    	<span class="code-tag">&lt;constructor-arg value=<span class="code-quote">"com.example.customerservice.CustomerService"</span>/&gt;</span>
+	<span class="code-tag">&lt;constructor-arg value=<span class="code-quote">"true"</span>/&gt;</span>
+    <span class="code-tag">&lt;/bean&gt;</span>
+</pre>
+</div></div>
+
+<p>And in the Camel route</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+<span class="code-tag">&lt;route&gt;</span>
+  <span class="code-tag">&lt;from uri=<span class="code-quote">"direct:start"</span>/&gt;</span>
+  <span class="code-tag">&lt;marshal&gt;</span>
+    <span class="code-tag">&lt;soap contentPath=<span class="code-quote">"com.example.customerservice"</span> version=<span class="code-quote">"1.2"</span> elementNameStrategyRef=<span class="code-quote">"myNameStrategy"</span>/&gt;</span>
+  <span class="code-tag">&lt;/marshal&gt;</span>
+  <span class="code-tag">&lt;to uri=<span class="code-quote">"jms:myQueue"</span>/&gt;</span>
+<span class="code-tag">&lt;/route&gt;</span>
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="BookInOnePage-MultipartMessages"></a>Multi-part Messages</h3>
 <p><b>Available as of Camel 2.8.1</b> </p>
 

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

Modified: websites/production/camel/content/camel-2110-release.html
==============================================================================
--- websites/production/camel/content/camel-2110-release.html (original)
+++ websites/production/camel/content/camel-2110-release.html Thu Jul  5 08:21:12 2012
@@ -84,7 +84,7 @@
 
 <p>Welcome to the 2.11.0 release with approximately XXX issues resolved - including new features, improvements, and bug fixes, such as: </p>
 
-<ul><li>Stuff goes here!!!</li></ul>
+<ul><li>Added support for SOAP 1.2 in <a shape="rect" href="soap.html" title="SOAP">SOAP</a> data format.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.11.0Release-Fixedissues"></a>Fixed issues</h3>

Modified: websites/production/camel/content/cdi.html
==============================================================================
--- websites/production/camel/content/cdi.html (original)
+++ websites/production/camel/content/cdi.html Thu Jul  5 08:21:12 2012
@@ -156,7 +156,7 @@
 
 <h3><a shape="rect" name="CDI-SeeAlso"></a>See Also</h3>
 
-<ul><li>Simple <a shape="rect" class="external-link" href="https://github.com/cmoulliard/cdi-camel" rel="nofollow">Camel CDI BootStrap project</a></li><li><a shape="rect" class="external-link" href="http://docs.jboss.org/weld/reference/1.1.5.Final/en-US/html_single/" rel="nofollow">JSR299</a> and <a shape="rect" class="external-link" href="http://openwebbeans.apache.org/owb/jsr330.html">JSR330</a> reference documentations</li><li>CDI revealed by Antonio Goncalves - <a shape="rect" class="external-link" href="https://agoncal.wordpress.com/2011/04/07/injection-with-cdi-part-i/" rel="nofollow">part 1</a>, <a shape="rect" class="external-link" href="https://agoncal.wordpress.com/2011/05/03/injection-with-cdi-part-ii/" rel="nofollow">part 2</a>, <a shape="rect" class="external-link" href="https://agoncal.wordpress.com/2011/09/25/injection-with-cdi-part-iii/" rel="nofollow">part 3</a> and OpenEJB team - see <a shape="rect" class="external-link" href="http://openejb.apache.org/exam
 ples-trunk/index.html">examples</a></li><li>Apache implementation of the specs JSR299, 330 - <a shape="rect" class="external-link" href="http://openwebbeans.apache.org/owb/index.html">OpenWebbeans</a> and Apache <a shape="rect" class="external-link" href="http://openejb.apache.org/">OpenEJB</a> which provide the container to deploy CDI projects</li><li>Apache Karaf featured with OpenEJB and CDI - <a shape="rect" class="external-link" href="https://svn.apache.org/repos/asf/openejb/trunk/openejb/osgi/">Apache KarafEE</a></li></ul>
+<ul><li>Simple <a shape="rect" class="external-link" href="https://github.com/cmoulliard/cdi-camel-example/" rel="nofollow">Camel CDI BootStrap project</a></li><li><a shape="rect" class="external-link" href="http://docs.jboss.org/weld/reference/1.1.5.Final/en-US/html_single/" rel="nofollow">JSR299</a> and <a shape="rect" class="external-link" href="http://openwebbeans.apache.org/owb/jsr330.html">JSR330</a> reference documentations</li><li><a shape="rect" class="external-link" href="http://incubator.apache.org/deltaspike/">Apache DeltaSpike project</a> - CDI extensions and JavaSE BootStrap</li><li>CDI revealed by Antonio Goncalves - <a shape="rect" class="external-link" href="https://agoncal.wordpress.com/2011/04/07/injection-with-cdi-part-i/" rel="nofollow">part 1</a>, <a shape="rect" class="external-link" href="https://agoncal.wordpress.com/2011/05/03/injection-with-cdi-part-ii/" rel="nofollow">part 2</a>, <a shape="rect" class="external-link" href="https://agoncal.wordpres
 s.com/2011/09/25/injection-with-cdi-part-iii/" rel="nofollow">part 3</a> and OpenEJB team - see <a shape="rect" class="external-link" href="http://openejb.apache.org/examples-trunk/index.html">examples</a></li><li>Apache implementation of the specs JSR299, 330 - <a shape="rect" class="external-link" href="http://openwebbeans.apache.org/owb/index.html">OpenWebbeans</a> and Apache <a shape="rect" class="external-link" href="http://openejb.apache.org/">OpenEJB</a> which provide the container to deploy CDI projects</li><li>Apache Karaf featured with OpenEJB and CDI - <a shape="rect" class="external-link" href="https://svn.apache.org/repos/asf/openejb/trunk/openejb/osgi/">Apache KarafEE</a></li></ul>
 </div>
         </td>
         <td valign="top">

Modified: websites/production/camel/content/soap.html
==============================================================================
--- websites/production/camel/content/soap.html (original)
+++ websites/production/camel/content/soap.html Thu Jul  5 08:21:12 2012
@@ -80,7 +80,7 @@
 
 <p>SOAP is a <a shape="rect" href="data-format.html" title="Data Format">Data Format</a> which uses JAXB2 and JAX-WS annotations to marshal and unmarshal SOAP payloads. It provides the basic features of Apache CXF without need for the CXF Stack.</p>
 
-<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Supported SOAP versions</b><br clear="none">Currently only SOAP 1.1 is supported.</td></tr></table></div>
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Supported SOAP versions</b><br clear="none">SOAP 1.1 is supported by default. SOAP 1.2 is supported from Camel 2.11 onwards.</td></tr></table></div>
 
 <h3><a shape="rect" name="SOAP-ElementNameStrategy"></a>ElementNameStrategy</h3>
 
@@ -108,6 +108,43 @@ from(<span class="code-quote">"direct:st
 
 <div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>See also</b><br clear="none">As the SOAP dataformat inherits from the <a shape="rect" href="jaxb.html" title="JAXB">JAXB</a> dataformat most settings apply here as well</td></tr></table></div>
 
+<h4><a shape="rect" name="SOAP-UsingSOAP1.2"></a>Using SOAP 1.2</h4>
+<p><b>Available as of Camel 2.11</b></p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+SoapJaxbDataFormat soap = <span class="code-keyword">new</span> SoapJaxbDataFormat(<span class="code-quote">"com.example.customerservice"</span>, <span class="code-keyword">new</span> ServiceInterfaceStrategy(CustomerService.class));
+soap.setVersion(<span class="code-quote">"1.2"</span>);
+from(<span class="code-quote">"direct:start"</span>)
+  .marshal(soap)
+  .to(<span class="code-quote">"jms:myQueue"</span>);
+</pre>
+</div></div>
+
+<p>When using XML DSL there is a version attribute you can set on the &lt;soap&gt; element.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+    <span class="code-tag"><span class="code-comment">&lt;!-- Defining a ServiceInterfaceStrategy for retrieving the element name when marshalling --&gt;</span></span>
+    <span class="code-tag">&lt;bean id=<span class="code-quote">"myNameStrategy"</span> class=<span class="code-quote">"org.apache.camel.dataformat.soap.name.ServiceInterfaceStrategy"</span>&gt;</span>
+    	<span class="code-tag">&lt;constructor-arg value=<span class="code-quote">"com.example.customerservice.CustomerService"</span>/&gt;</span>
+	<span class="code-tag">&lt;constructor-arg value=<span class="code-quote">"true"</span>/&gt;</span>
+    <span class="code-tag">&lt;/bean&gt;</span>
+</pre>
+</div></div>
+
+<p>And in the Camel route</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+<span class="code-tag">&lt;route&gt;</span>
+  <span class="code-tag">&lt;from uri=<span class="code-quote">"direct:start"</span>/&gt;</span>
+  <span class="code-tag">&lt;marshal&gt;</span>
+    <span class="code-tag">&lt;soap contentPath=<span class="code-quote">"com.example.customerservice"</span> version=<span class="code-quote">"1.2"</span> elementNameStrategyRef=<span class="code-quote">"myNameStrategy"</span>/&gt;</span>
+  <span class="code-tag">&lt;/marshal&gt;</span>
+  <span class="code-tag">&lt;to uri=<span class="code-quote">"jms:myQueue"</span>/&gt;</span>
+<span class="code-tag">&lt;/route&gt;</span>
+</pre>
+</div></div>
+
+
 <h3><a shape="rect" name="SOAP-MultipartMessages"></a>Multi-part Messages</h3>
 <p><b>Available as of Camel 2.8.1</b> </p>