Author: buildbot
Date: Thu Nov 22 06:18:11 2012
New Revision: 839080

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/xmlrpc.html
==============================================================================
--- websites/production/camel/content/xmlrpc.html (original)
+++ websites/production/camel/content/xmlrpc.html Thu Nov 22 06:18:11 2012
@@ -150,6 +150,28 @@
 </pre>
 </div></div>
 
+<h3><a shape="rect" name="XmlRpc-URIformat"></a>URI format</h3>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+xmlrpc:<span class="code-comment">//serverUri[?options]</span>
+</pre>
+</div></div>
+
+<h3><a shape="rect" name="XmlRpc-Options"></a>Options</h3>
+<div class="confluenceTableSmall"><div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Property </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Default </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>basicEncoding</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Sets the encoding for basic authentication, null means 
UTF-8 is chosen. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>basicUserName</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The user name for basic authentication. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>basicPassword</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> The password 
 for basic authentication. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>clientConfigurer</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> The reference id of the XmlRpcClient 
configurer which implement the interface of XmlRpcClientConfigurer to setup the 
XmlRpcClient as user wants. The value should be start with "#" such as 
"#myConfigurer"</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>connectionTimeout</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Set the connection timeout in milliseconds, 0 is to 
disable it</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>contentLengthOptional</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> whether a "Content-Length" header may be omitted. Th
 e XML-RPC specification demands, that such a header be present. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>enabledForExceptions</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> whether the response should contain a "faultCause" 
element in case of errors. The "faultCause" is an exception, which the server 
has trapped and written into a byte stream as a serializable object. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>enabledForExtensions</tt></td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> whether extensions are enabled. By default, the client or 
server is strictly compliant to the XML-RPC specification and extensions are 
disabled.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>encoding</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>null<
 /tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Sets the requests 
encoding, null means UTF-8 is chosen. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>gzipCompressing</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> Whether gzip compression is being used for transmitting 
the request. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>gzipRequesting</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Whether 
gzip compression is being used for transmitting the request. </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>replyTimeout</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>0</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> Set the reply timeout in milliseconds, 0 is 
to disable it. </td></tr><tr><td colspan="1" rowspan="1" 
 class="confluenceTd"> <tt>userAgent</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The http user agent header to set when doing xmlrpc 
requests </td></tr></tbody></table>
+</div>
+
+</div>
+
+<h3><a shape="rect" name="XmlRpc-MessageHeaders"></a>Message Headers</h3>
+<p>Camel XmlRpc uses these headers.</p>
+<div class="confluenceTableSmall"><div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Header </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CamelXmlRpcMethodName</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> The XmlRpc method name which will be use for 
invoking the XmlRpc server. </td></tr></tbody></table>
+</div>
+</div>
+
 <h3><a shape="rect" name="XmlRpc-UsingtheXmlRpcdataformat"></a>Using the 
XmlRpc data format</h3>
 <p>As the XmlRpc message could be request or response, when you use the 
XmlRpcDataFormat, you need to specify the dataformat is for request or not.</p>
 
@@ -191,6 +213,12 @@
    <span class="code-object">String</span> response = 
template.requestBodyAndHeader(xmlRpcServiceAddress, <span 
class="code-keyword">new</span> <span class="code-object">Object</span>[]{<span 
class="code-quote">"me"</span>}, XmlRpcConstants.METHOD_NAME, <span 
class="code-quote">"hello"</span>, <span 
class="code-object">String</span>.class);
 </pre>
 </div></div>
+
+<h3><a shape="rect" 
name="XmlRpc-HowtoconfiguretheXmlRpcClientwithJavacode"></a>How to configure 
the XmlRpcClient with Java code</h3>
+<p>camel-xmlrpc provides a pluggable strategy for configuring the XmlRpcClient 
used by the component, user just to implement the <b>XmlRpcClientConfigurer</b> 
interface and can configure the XmlRpcClient as he wants. The clientConfigure 
instance reference can be set through the uri option clientConfigure.</p>
+
+<div class="error"><span class="error">Error formatting macro: snippet: 
java.lang.IndexOutOfBoundsException: Index: 20, Size: 20</span> </div>
+
 </div>
         </td>
         <td valign="top">


Reply via email to