camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1310426 - /camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
Date Fri, 06 Apr 2012 16:00:09 GMT
Author: davsclaus
Date: Fri Apr  6 16:00:09 2012
New Revision: 1310426

URL: http://svn.apache.org/viewvc?rev=1310426&view=rev
Log:
CAMEL-5146: Marked method as @deprecated which is removed in Camel 2.10 onwards.

Modified:
    camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java

Modified: camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java?rev=1310426&r1=1310425&r2=1310426&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
(original)
+++ camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
Fri Apr  6 16:00:09 2012
@@ -359,7 +359,10 @@ public class OnExceptionDefinition exten
      *
      * @param retryWhile expression that determines when to stop retrying
      * @return the builder
+     * @deprecated use {@link #retryWhile(org.apache.camel.Predicate)} instead.
+     *             This method is removed in Camel 2.10 onwards.
      */
+    @Deprecated
     public OnExceptionDefinition retryWhile(Expression retryWhile) {
         setRetryWhilePolicy(ExpressionToPredicateAdapter.toPredicate(retryWhile));
         return this;



Mime
View raw message