Author: buildbot Date: Mon Oct 14 14:18:43 2013 New Revision: 882542 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/camel-2130-release.html websites/production/camel/content/splunk.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/camel-2130-release.html ============================================================================== --- websites/production/camel/content/camel-2130-release.html (original) +++ websites/production/camel/content/camel-2130-release.html Mon Oct 14 14:18:43 2013 @@ -143,7 +143,7 @@ <h2><a shape="rect" name="Camel2.13.0Release-Changesthatmayaffectendusers"></a>Changes that may affect end users</h2> -<ul><li>Components depending on Servlet API has been upgrade from Servlet API 2.5 to 3.0</li><li>Jetty upgraded from 7.6.x to 8.1.x</li><li><a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast Component</a> uses <tt>Object</tt> instead of <tt>String</tt> as the key.</li><li><a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast Component</a> atomic number producer was using incorrect name (<a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/CAMEL-6833">CAMEL-6833</a>). Name will be different with this release.</li><li><a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast Component</a> instance consumer was incorrectly writing headers to the "out" message as opposed to the "in" message. Headers are now written to the "in" message.</li><li><a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast Component</a> map/multimap consumer were sending header value "envict" when an item was evicted. This has been corrected and the value "evicted" is used now.</li><li>The enum value <tt>NON_BLOCKING</tt> has been removed in <tt>camel-apns</tt> as its no longer support in APNS itself.</li></ul> +<ul><li>Components depending on Servlet API has been upgrade from Servlet API 2.5 to 3.0</li><li>Jetty upgraded from 7.6.x to 8.1.x</li><li><a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast Component</a> uses <tt>Object</tt> instead of <tt>String</tt> as the key.</li><li><a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast Component</a> atomic number producer was using incorrect name (<a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/CAMEL-6833">CAMEL-6833</a>). Name will be different with this release.</li><li><a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast Component</a> instance consumer was incorrectly writing headers to the "out" message as opposed to the "in" message. Headers are now written to the "in" message.</li><li><a shape="rect" href="hazelcast-component.html" title="Hazelcast Component">Hazelcast Component</a> map/multimap consumer were sending header value "envict" when an item was evicted. This has been corrected and the value "evicted" is used now.</li><li>The enum value <tt>NON_BLOCKING</tt> has been removed in <tt>camel-apns</tt> as its no longer support in APNS itself.</li><li><tt>DefaultTimeoutMap</tt> must call <tt>start</tt> to initialize the map before use.</li></ul> <h2><a shape="rect" name="Camel2.13.0Release-Importantchangestoconsiderwhenupgrading"></a>Important changes to consider when upgrading</h2> Modified: websites/production/camel/content/splunk.html ============================================================================== --- websites/production/camel/content/splunk.html (original) +++ websites/production/camel/content/splunk.html Mon Oct 14 14:18:43 2013 @@ -115,12 +115,15 @@ </div> +<p>When publishing events the message body should contain a SplunkEvent. </p> + <p><b>Example</b></p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ - from("direct:start").to("splunk://submit?username=user&password=123&index=myindex&sourceType=someSourceType&source=mySource")... + from("direct:start").convertBodyTo(SplunkEvent.class).to("splunk://submit?username=user&password=123&index=myindex&sourceType=someSourceType&source=mySource")... ]]></script> </div></div> +<p>In this example a converter is required to convert to a SplunkEvent class. </p> <h3><a shape="rect" name="Splunk-ConsumerEndpoints%3A"></a>Consumer Endpoints: </h3> @@ -136,6 +139,8 @@ ]]></script> </div></div> +<p>camel-splunk creates a route exchange per search result with a SplunkEvent in the body. </p> + <h3><a shape="rect" name="Splunk-URIOptions"></a>URI Options</h3> <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"> Default Value </th><th colspan="1" rowspan="1" class="confluenceTh"> Context </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">host </td><td colspan="1" rowspan="1" class="confluenceTd"> localhost </td><td colspan="1" rowspan="1" class="confluenceTd"> Both </td><td colspan="1" rowspan="1" class="confluenceTd"> Splunk host.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">port </td><td colspan="1" rowspan="1" class="confluenceTd"> 8089 </td><td colspan="1" rowspan="1" class="confluenceTd"> Both </td><td colspan="1" rowspan="1" class="confluenceTd"> Splunk port</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> username </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd"> Both </td><td colspan="1" rowspan="1" class="confluenceTd"> Username for Splunk</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> password </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd"> Both </td><td colspan="1" rowspan="1" class="confluenceTd"> Password for Splunk</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> connectionTimeout </td><td colspan="1" rowspan="1" class="confluenceTd"> 5000 </td><td colspan="1" rowspan="1" class="confluenceTd"> Both </td><td colspan="1" rowspan="1" class="confluenceTd"> Timeout in MS when connecting to Splunk server</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> useSunHttpsHandler </td><td colspan="1" rowspan="1" class="confluenceTd"> false </td><td colspan="1" rowspan="1" class="confluenceTd"> Both </td><td colspan="1" rowspan="1" class="confluenceTd"> Use sun.net.www.protocol.https.Handler Https hanlder to establish the Splunk Connection. Can be useful when running in application servers to avoid app. server https handling.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> index </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd"> Producer </td><td colspan="1" rowspan="1" class="confluenceTd"> Splunk index to write to</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> sourceType </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd"> Producer </td><td colspan="1" rowspan="1" class="confluenceTd"> Splunk SourceType arguement</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> source </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd"> Producer </td><td colspan="1" rowspan="1" class="confluenceTd"> Splunk Source arguement</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> tcpReceiverPort </t d><td colspan="1" rowspan="1" class="confluenceTd"> 0 </td><td colspan="1" rowspan="1" class="confluenceTd"> Producer </td><td colspan="1" rowspan="1" class="confluenceTd"> Splunk tcp reciever port when using tcp producer endpoint.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> initEarliestTime </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd"> Consumer </td><td colspan="1" rowspan="1" class="confluenceTd"> Initial start offset of the first search. Required</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> earliestTime </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd"> Consumer </td><td colspan="1" rowspan="1" class="confluenceTd"> Earliest time of the search time window.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> latestTime </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rows pan="1" class="confluenceTd"> Consumer </td><td colspan="1" rowspan="1" class="confluenceTd"> Latest time of the search time window.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> count </td><td colspan="1" rowspan="1" class="confluenceTd"> 0 </td><td colspan="1" rowspan="1" class="confluenceTd"> Consumer </td><td colspan="1" rowspan="1" class="confluenceTd"> A number that indicates the maximum number of entities to return. Note this is not the same as maxMessagesPerPoll which currently is unsupported</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> search </td><td colspan="1" rowspan="1" class="confluenceTd">null </td><td colspan="1" rowspan="1" class="confluenceTd"> Consumer </td><td colspan="1" rowspan="1" class="confluenceTd"> The Splunk query to run</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> savedSearch </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd"> Consumer </t d><td colspan="1" rowspan="1" class="confluenceTd"> The name of the query saved in Splunk to run</td></tr></tbody></table>