You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/01/06 15:05:15 UTC
svn commit: r1429528 - in /camel/branches/camel-2.10.x: ./
components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/
Author: bvahdat
Date: Sun Jan 6 14:05:14 2013
New Revision: 1429528
URL: http://svn.apache.org/viewvc?rev=1429528&view=rev
Log:
Merged revisions 1429527 via svnmerge from
https://svn.apache.org/repos/asf/camel/trunk
........
r1429527 | bvahdat | 2013-01-06 15:03:35 +0100 (So, 06 Jan 2013) | 1 line
CAMEL-5839: mark the 'awaitExistence' option as @Deprecated as it's usage would have no effect anyway.
........
Modified:
camel/branches/camel-2.10.x/ (props changed)
camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java
camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperEndpoint.java
Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Merged /camel/trunk:r1429527
Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java?rev=1429528&r1=1429527&r2=1429528&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java (original)
+++ camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperConfiguration.java Sun Jan 6 14:05:14 2013
@@ -127,10 +127,18 @@ public class ZooKeeperConfiguration impl
}
}
+ /**
+ * The usage of this option has no effect at all.
+ */
+ @Deprecated
public boolean shouldAwaitExistence() {
return awaitExistence;
}
+ /**
+ * The usage of this option has no effect at all.
+ */
+ @Deprecated
public void setAwaitExistence(boolean awaitExistence) {
this.awaitExistence = awaitExistence;
}
Modified: camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperEndpoint.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperEndpoint.java?rev=1429528&r1=1429527&r2=1429528&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperEndpoint.java (original)
+++ camel/branches/camel-2.10.x/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/ZooKeeperEndpoint.java Sun Jan 6 14:05:14 2013
@@ -144,11 +144,19 @@ public class ZooKeeperEndpoint extends D
getConfiguration().setBackoff(backoff);
}
+ /**
+ * The usage of this property has no effect at all.
+ */
+ @Deprecated
@ManagedAttribute
public boolean getAwaitExistence() {
return getConfiguration().shouldAwaitExistence();
}
+ /**
+ * The usage of this property has no effect at all.
+ */
+ @Deprecated
@ManagedAttribute
public void setAwaitExistence(boolean awaitExistence) {
getConfiguration().setAwaitExistence(awaitExistence);