This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7274d3dd9754be36d144d408938b66c362bc68ae Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Mon Feb 19 17:14:44 2024 +0100 CAMEL-20410: documentation fixes for camel-weather - Fixed samples - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links --- 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 2e215ab200d..2bb84605cf2 100644 --- a/components/camel-weather/src/main/docs/weather-component.adoc +++ b/components/camel-weather/src/main/docs/weather-component.adoc @@ -63,7 +63,7 @@ include::partial$component-endpoint-headers.adoc[] == Exchange data format -Camel will deliver the body as a json formatted java.lang.String (see +Camel will deliver the body as a json formatted `java.lang.String` (see the `mode` option above). == Samples @@ -75,7 +75,7 @@ In this sample we find the 7-day weather forecast for Madrid, Spain: 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 +To just find the current weather for your current location, you can use this: [source,java] @@ -83,7 +83,7 @@ this: 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: +And to find the weather using the producer, we do: [source,java] --------------------------------------------------------