camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r731256 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java
Date Sun, 04 Jan 2009 13:24:18 GMT
Author: davsclaus
Date: Sun Jan  4 05:24:18 2009
New Revision: 731256

URL: http://svn.apache.org/viewvc?rev=731256&view=rev
Log:
Added missing fluent builders to DLC for Java DSL

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java?rev=731256&r1=731255&r2=731256&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java
Sun Jan  4 05:24:18 2009
@@ -106,6 +106,16 @@
         return this;
     }
 
+    public DeadLetterChannelBuilder retriesExhaustedLogLevel(LoggingLevel retriesExhaustedLogLevel)
{
+        getRedeliveryPolicy().setRetriesExhaustedLogLevel(retriesExhaustedLogLevel);
+        return this;
+    }
+
+    public DeadLetterChannelBuilder retryAttemptedLogLevel(LoggingLevel retryAttemptedLogLevel)
{
+        getRedeliveryPolicy().setRetryAttemptedLogLevel(retryAttemptedLogLevel);
+        return this;
+    }
+
     /**
      * Sets the logger used for caught exceptions
      */



Mime
View raw message