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 2013/06/12 18:18:22 UTC

svn commit: r865424 - in /websites/production/camel/content: cache/main.pageCache weather.html

Author: buildbot
Date: Wed Jun 12 16:18:22 2013
New Revision: 865424

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/weather.html
==============================================================================
--- websites/production/camel/content/weather.html (original)
+++ websites/production/camel/content/weather.html Wed Jun 12 16:18:22 2013
@@ -105,7 +105,7 @@ weather:<span class="code-comment">//&lt
 
 <h3><a shape="rect" name="Weather-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>location</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">  If null Camel will try and determine your current location using the geolocation of your ip address, else specify the city,country. For well known city names, Open Weather Map will determine the best fit, but multiple results may be returned. Hence specifying and country as well will return more accurate data. If you specify "current" as the location then the component will try to get the current latitude and longitude and use that to get the weather details. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>period</tt> </td><t
 d colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If null, the current weather will be returned, else use values of 5, 7, 14 days. Only the numeric value for the forecast period is actually parsed, so spelling, capitalisation of the time period is up to you (its ignored) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>mode</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>JSON</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The output format of the weather data. The possible values are <tt>HTML</tt>, <tt>JSON</tt> or <tt>XML</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>units</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>METRIC</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The units for temperature measurement. The possible values are <tt>IMPERIAL</tt> or <tt>METRIC</tt> </td></tr><tr><td colspan="1" rowsp
 an="1" class="confluenceTd"> <tt>consumer.delay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>3600000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Delay in millis between each poll (default is 1 hour) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>consumer.initialDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Millis before polling starts. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>consumer.userFixedDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If <tt>true</tt>, use fixed delay between polls, otherwise fixed rate is used. See <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html" rel="nofollow">ScheduledExecutorService</a> in JDK for details. <
 /td></tr></tbody></table>
+<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>location</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd">  If null Camel will try and determine your current location using the geolocation of your ip address, else specify the city,country. For well known city names, Open Weather Map will determine the best fit, but multiple results may be returned. Hence specifying and country as well will return more accurate data. If you specify "current" as the location then the component will try to get the current latitude and longitude and use that to get the weather details. You can use lat and lon options instead of location. </td></tr><tr><td colspan="1" rows
 pan="1" class="confluenceTd"> <tt>lat</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Latitude of location. You can use lat and lon options instead of location. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>lon</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Longitude of location. You can use lat and lon options instead of location. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>period</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If null, the current weather will be returned, else use values of 5, 7, 14 days. Only the numeric value for the forecast period is actually parsed, so spelling, capitalisation of the time period is up to you (its ignored) </td></tr><tr><td colspan="1" rowspan="1" cl
 ass="confluenceTd"> <tt>headerName</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> To store the weather result in this header instead of the message body. This is useable if you want to keep current message body as-is. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>mode</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>JSON</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The output format of the weather data. The possible values are <tt>HTML</tt>, <tt>JSON</tt> or <tt>XML</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>units</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>METRIC</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The units for temperature measurement. The possible values are <tt>IMPERIAL</tt> or <tt>METRIC</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>consum
 er.delay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>3600000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Delay in millis between each poll (default is 1 hour) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>consumer.initialDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>1000</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Millis before polling starts. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>consumer.userFixedDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If <tt>true</tt>, use fixed delay between polls, otherwise fixed rate is used. See <a shape="rect" class="external-link" href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ScheduledExecutorService.html" rel="nofollow">ScheduledExecutorService</a> in JDK for details. </td></tr></tbody></table>
 </div>
 </div>
 
@@ -158,8 +158,7 @@ from(<span class="code-quote">"direct:st
 <pre class="code-java">
   <span class="code-object">String</span> json = template.requestBodyAndHeader(<span class="code-quote">"direct:start"</span>, <span class="code-quote">"", "</span>CamelWeatherLocation<span class="code-quote">", "</span>current", <span class="code-object">String</span>.class);
 </pre>
-</div></div>
-</div>
+</div></div></div>
         </td>
         <td valign="top">
           <div class="navigation">