Repository: camel
Updated Branches:
  refs/heads/master a41bef538 -> 586f9409d


Fix camel-infinispan documentation


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/586f9409
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/586f9409
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/586f9409

Branch: refs/heads/master
Commit: 586f9409dc576ca7f61bf8db58c3a350e642d2f2
Parents: a41bef5
Author: lburgazzoli <lburgazz...@gmail.com>
Authored: Wed Apr 12 10:43:18 2017 +0200
Committer: lburgazzoli <lburgazz...@gmail.com>
Committed: Wed Apr 12 10:43:25 2017 +0200

----------------------------------------------------------------------
 .../camel-infinispan/src/main/docs/infinispan-component.adoc   | 6 +++---
 .../camel/component/infinispan/InfinispanConfiguration.java    | 3 +--
 components/readme.adoc                                         | 2 +-
 3 files changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/586f9409/components/camel-infinispan/src/main/docs/infinispan-component.adoc
----------------------------------------------------------------------
diff --git 
a/components/camel-infinispan/src/main/docs/infinispan-component.adoc 
b/components/camel-infinispan/src/main/docs/infinispan-component.adoc
index c7821bf..f29e852 100644
--- a/components/camel-infinispan/src/main/docs/infinispan-component.adoc
+++ b/components/camel-infinispan/src/main/docs/infinispan-component.adoc
@@ -61,20 +61,20 @@ The Infinispan endpoint is configured using URI syntax:
 
 with the following path and query parameters:
 
-#### Path Parameters (2 parameters):
+#### Path Parameters (1 parameters):
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |=======================================================================
 | Name | Description | Default | Type
 | **cacheName** | *Required* The cache to use |  | String
-| **hosts** | Specifies the host of the cache on Infinispan instance |  | 
String
 |=======================================================================
 
-#### Query Parameters (15 parameters):
+#### Query Parameters (16 parameters):
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |=======================================================================
 | Name | Description | Default | Type
+| **hosts** (common) | Specifies the host of the cache on Infinispan instance 
|  | String
 | **queryBuilder** (common) | Specifies the query builder. |  | 
InfinispanQueryBuilder
 | **bridgeErrorHandler** (consumer) | Allows for bridging the consumer to the 
Camel routing Error Handler which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages or the likes will now be 
processed as a message and handled by the routing Error Handler. By default the 
consumer will use the org.apache.camel.spi.ExceptionHandler to deal with 
exceptions that will be logged at WARN or ERROR level and ignored. | false | 
boolean
 | **clusteredListener** (consumer) | If true the listener will be installed 
for the entire cluster | false | boolean

http://git-wip-us.apache.org/repos/asf/camel/blob/586f9409/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
----------------------------------------------------------------------
diff --git 
a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
 
b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
index 837c805..f84eaa4 100644
--- 
a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
+++ 
b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
@@ -25,14 +25,13 @@ import java.util.Set;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriParams;
-import org.apache.camel.spi.UriPath;
 import org.apache.camel.util.ObjectHelper;
 import org.infinispan.commons.api.BasicCacheContainer;
 import org.infinispan.context.Flag;
 
 @UriParams
 public class InfinispanConfiguration implements Cloneable {
-    @UriPath
+    @UriParam
     private String hosts;
     @UriParam(label = "producer", defaultValue = "put", enums =
              "put,putAll,putIfAbsent,putAsync,putAllAsync,putIfAbsentAsync,"

http://git-wip-us.apache.org/repos/asf/camel/blob/586f9409/components/readme.adoc
----------------------------------------------------------------------
diff --git a/components/readme.adoc b/components/readme.adoc
index e54b2ba..9991e20 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -297,7 +297,7 @@ Number of Components: 228 in 182 JAR artifacts (14 
deprecated)
 `imap:host:port` | 1.0 | To send or receive emails using imap/pop3 or stmp 
protocols.
 
 | link:camel-infinispan/src/main/docs/infinispan-component.adoc[Infinispan] 
(camel-infinispan) +
-`infinispan:host` | 2.13 | For reading/writing from/to Infinispan distributed 
key/value store and data grid.
+`infinispan:cacheName` | 2.13 | For reading/writing from/to Infinispan 
distributed key/value store and data grid.
 
 | link:camel-influxdb/src/main/docs/influxdb-component.adoc[InfluxDB] 
(camel-influxdb) +
 `influxdb:connectionBean` | 2.18 | The influxdb component allows you to 
interact with InfluxDB a time series database.

Reply via email to