camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] camel git commit: Add forgotton redelivery option in xml dsl
Date Wed, 11 Mar 2015 19:41:43 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.15.x 378e9c1f1 -> f75a68706
  refs/heads/master e08c8700b -> ef764be21


Add forgotton redelivery option in xml dsl


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

Branch: refs/heads/master
Commit: ef764be21255fe629fed6cd79eb6fb93915cc92a
Parents: e08c870
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Mar 11 20:42:17 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Mar 11 20:42:28 2015 +0100

----------------------------------------------------------------------
 .../xml/AbstractCamelRedeliveryPolicyFactoryBean.java  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ef764be2/components/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelRedeliveryPolicyFactoryBean.java
----------------------------------------------------------------------
diff --git a/components/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelRedeliveryPolicyFactoryBean.java
b/components/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelRedeliveryPolicyFactoryBean.java
index b36232c..f353415 100644
--- a/components/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelRedeliveryPolicyFactoryBean.java
+++ b/components/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelRedeliveryPolicyFactoryBean.java
@@ -66,6 +66,8 @@ public abstract class AbstractCamelRedeliveryPolicyFactoryBean extends AbstractC
     @XmlAttribute
     private String logExhausted;
     @XmlAttribute
+    private String logExhaustedMessageHistory;
+    @XmlAttribute
     private String disableRedelivery;
     @XmlAttribute
     private String delayPattern;
@@ -129,6 +131,9 @@ public abstract class AbstractCamelRedeliveryPolicyFactoryBean extends
AbstractC
         if (logExhausted != null) {
             answer.setLogExhausted(CamelContextHelper.parseBoolean(context, logExhausted));
         }
+        if (logExhaustedMessageHistory != null) {
+            answer.setLogExhaustedMessageHistory(CamelContextHelper.parseBoolean(context,
logExhaustedMessageHistory));
+        }
         if (disableRedelivery != null) {
             if (CamelContextHelper.parseBoolean(context, disableRedelivery)) {
                 answer.setMaximumRedeliveries(0);
@@ -279,6 +284,14 @@ public abstract class AbstractCamelRedeliveryPolicyFactoryBean extends
AbstractC
         this.logExhausted = logExhausted;
     }
 
+    public String getLogExhaustedMessageHistory() {
+        return logExhaustedMessageHistory;
+    }
+
+    public void setLogExhaustedMessageHistory(String logExhaustedMessageHistory) {
+        this.logExhaustedMessageHistory = logExhaustedMessageHistory;
+    }
+
     public String getDisableRedelivery() {
         return disableRedelivery;
     }


Mime
View raw message