camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject [4/4] camel git commit: Regen
Date Fri, 05 May 2017 11:36:27 GMT
Regen


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

Branch: refs/heads/master
Commit: 600d8d3c6da63c2fb73189681bc971ad9c49018e
Parents: a74c425
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Fri May 5 13:36:05 2017 +0200
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Fri May 5 13:36:05 2017 +0200

----------------------------------------------------------------------
 .../src/main/docs/infinispan-component.adoc     |  3 ++-
 .../InfinispanComponentAutoConfiguration.java   |  2 +-
 .../InfinispanComponentConfiguration.java       | 21 +++++++++++++++++++-
 3 files changed, 23 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/600d8d3c/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 d13b747..b92e5bd 100644
--- a/components/camel-infinispan/src/main/docs/infinispan-component.adoc
+++ b/components/camel-infinispan/src/main/docs/infinispan-component.adoc
@@ -69,7 +69,7 @@ with the following path and query parameters:
 | **cacheName** | *Required* The cache to use |  | String
 |=======================================================================
 
-#### Query Parameters (17 parameters):
+#### Query Parameters (18 parameters):
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |=======================================================================
@@ -78,6 +78,7 @@ with the following path and query parameters:
 | **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
+| **command** (consumer) | The operation to perform. | PUT | String
 | **customListener** (consumer) | Returns the custom listener in use if provided |  | InfinispanCustom
Listener
 | **eventTypes** (consumer) | Specifies the set of event types to register by the consumer.
Multiple event can be separated by comma. The possible event types are: CACHE_ENTRY_ACTIVATED
CACHE_ENTRY_PASSIVATED CACHE_ENTRY_VISITED CACHE_ENTRY_LOADED CACHE_ENTRY_EVICTED CACHE_ENTRY_CREATED
CACHE_ENTRY_REMOVED CACHE_ENTRY_MODIFIED TRANSACTION_COMPLETED TRANSACTION_REGISTERED CACHE_ENTRY_INVALIDATED
DATA_REHASHED TOPOLOGY_CHANGED PARTITION_STATUS_CHANGED |  | String
 | **sync** (consumer) | If true the consumer will receive notifications synchronously | true
| boolean

http://git-wip-us.apache.org/repos/asf/camel/blob/600d8d3c/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java
b/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java
index c94c6d8..ae496d2 100644
--- a/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java
@@ -111,4 +111,4 @@ public class InfinispanComponentAutoConfiguration {
             return resolver.getProperty("enabled", Boolean.class, defaultValue);
         }
     }
-}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/600d8d3c/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java
b/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java
index 330e8fe..c540e21 100644
--- a/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-infinispan-starter/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java
@@ -26,6 +26,7 @@ import org.apache.camel.component.infinispan.InfinispanQueryBuilder;
 import org.infinispan.commons.api.BasicCacheContainer;
 import org.infinispan.context.Flag;
 import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.boot.context.properties.DeprecatedConfigurationProperty;
 import org.springframework.boot.context.properties.NestedConfigurationProperty;
 
 /**
@@ -84,6 +85,13 @@ public class InfinispanComponentConfiguration {
         public static final Class CAMEL_NESTED_CLASS = org.apache.camel.component.infinispan.InfinispanConfiguration.class;
         /**
          * The operation to perform.
+         * 
+         * @deprecated replaced by @{link setOperation}
+         */
+        @Deprecated
+        private String command = "PUT";
+        /**
+         * The operation to perform.
          */
         private InfinispanOperation operation = InfinispanOperation.PUT;
         private String hosts;
@@ -128,6 +136,17 @@ public class InfinispanComponentConfiguration {
          */
         private Object resultHeader;
 
+        @Deprecated
+        @DeprecatedConfigurationProperty
+        public String getCommand() {
+            return command;
+        }
+
+        @Deprecated
+        public void setCommand(String command) {
+            this.command = command;
+        }
+
         public InfinispanOperation getOperation() {
             return operation;
         }
@@ -233,4 +252,4 @@ public class InfinispanComponentConfiguration {
             this.resultHeader = resultHeader;
         }
     }
-}
+}
\ No newline at end of file


Mime
View raw message