You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/07/17 14:35:26 UTC

[camel] 04/05: CAMEL-12658 - Updated docs

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b2c3e3543aba51bbe3f1f7dfe5c055b5838baf39
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jul 17 16:32:05 2018 +0200

    CAMEL-12658 - Updated docs
---
 components/camel-weather/src/main/docs/weather-component.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-weather/src/main/docs/weather-component.adoc b/components/camel-weather/src/main/docs/weather-component.adoc
index e7622e9..5f3fcf1 100644
--- a/components/camel-weather/src/main/docs/weather-component.adoc
+++ b/components/camel-weather/src/main/docs/weather-component.adoc
@@ -157,7 +157,7 @@ In this sample we find the 7 day weather forecast for Madrid, Spain:
 
 [source,java]
 ---------------------------------------------------------------------------------------------
-from("weather:foo?location=Madrid,Spain&period=7 days&appid=APIKEY").to("jms:queue:weather");
+from("weather:foo?location=Madrid,Spain&period=7 days&appid=APIKEY&geolocationAccessKey=IPSTACK_ACCESS_KEY&geolocationRequestHostIP=LOCAL_IP").to("jms:queue:weather");
 ---------------------------------------------------------------------------------------------
 
 To just find the current weather for your current location you can use
@@ -165,7 +165,7 @@ this:
 
 [source,java]
 ---------------------------------------------------------
-from("weather:foo?appid=APIKEY").to("jms:queue:weather");
+from("weather:foo?appid=APIKEY&geolocationAccessKey=IPSTACK_ACCESS_KEY&geolocationRequestHostIP=LOCAL_IP").to("jms:queue:weather");
 ---------------------------------------------------------
 
 And to find the weather using the producer we do:
@@ -173,7 +173,7 @@ And to find the weather using the producer we do:
 [source,java]
 --------------------------------------------------------
 from("direct:start")
-  .to("weather:foo?location=Madrid,Spain&appid=APIKEY");
+  .to("weather:foo?location=Madrid,Spain&appid=APIKEY&geolocationAccessKey=IPSTACK_ACCESS_KEY&geolocationRequestHostIP=LOCAL_IP");
 --------------------------------------------------------
 
 And we can send in a message with a header to get the weather for any