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 2019/02/25 14:46:56 UTC

[camel] branch master updated: CAMEL-13255 - Regen 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


The following commit(s) were added to refs/heads/master by this push:
     new 3202754  CAMEL-13255 - Regen docs
3202754 is described below

commit 3202754e50b8968a9a99aa8bc851c420c8e14f5f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 25 15:46:34 2019 +0100

    CAMEL-13255 - Regen docs
---
 .../src/main/docs/spring-redis-component.adoc                | 12 ++++++++++++
 .../modules/ROOT/pages/spring-redis-component.adoc           | 12 ++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc b/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc
index c1ac0ea..890c486 100644
--- a/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc
+++ b/components/camel-spring-redis/src/main/docs/spring-redis-component.adoc
@@ -76,6 +76,18 @@ with the following path and query parameters:
 // spring-boot-auto-configure options: START
 === Spring Boot Auto-Configuration
 
+When using Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+  <groupId>org.apache.camel</groupId>
+  <artifactId>camel-spring-redis-starter</artifactId>
+  <version>x.x.x</version>
+  <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
 
 The component supports 2 options, which are listed below.
 
diff --git a/docs/components/modules/ROOT/pages/spring-redis-component.adoc b/docs/components/modules/ROOT/pages/spring-redis-component.adoc
index 18930ef..890c486 100644
--- a/docs/components/modules/ROOT/pages/spring-redis-component.adoc
+++ b/docs/components/modules/ROOT/pages/spring-redis-component.adoc
@@ -359,6 +359,18 @@ milliseconds |CamelRedis.Key (String), CamelRedis.Timestamp (Long) |Boolean
 
 [width="100%",cols="20%,20%,20%,60%",options="header",]
 |=======================================================================
+|Geo Commands |Description |Parameters |Result
+
+|`GEOADD` |Adds the specified geospatial items (latitude, longitude, name) to the specified key |CamelRedis.Key (String), CamelRedis.Latitude (Double), CamelRedis.Longitude (Double), CamelRedis.Value (Object) |Long
+|`GEODIST` |Return the distance between two members in the geospatial index for the specified key  |CamelRedis.Key (String), CamelRedis.Values (Object[]) |Distance
+|`GEOHASH` |Return valid Geohash strings representing the position of an element in the geospatial index for the specified key |CamelRedis.Key (String), CamelRedis.Value (Object) |List<String>
+|`GEOPOS` |Return the positions (longitude,latitude) of an element in the geospatial index for the specified key |CamelRedis.Key (String), CamelRedis.Value (Object) |List<Point>
+|`GEORADIUS` |Return the  element in the geospatial index for the specified key which are within the borders of the area specified with the center location and the maximum distance from the center (the radius) |CamelRedis.Key (String), CamelRedis.Latitude (Double), CamelRedis.Longitude (Double), CamelRedis.Radius (Double), CamelRedis.Count (Integer) |GeoResults
+|`GEORADIUSBYMEMBER` |This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index for the specified key |CamelRedis.Key (String), CamelRedis.Value (Object), CamelRedis.Radius (Double), CamelRedis.Count (Integer) |GeoResults
+|=======================================================================
+
+[width="100%",cols="20%,20%,20%,60%",options="header",]
+|=======================================================================
 |Other Command |Description |Parameters |Result
 
 |`MULTI` |Mark the start of a transaction block |none |void