camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: Fixed typo
Date Tue, 28 Mar 2017 09:06:12 GMT
Fixed typo


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

Branch: refs/heads/master
Commit: 6a15b8e624b56408ea35432bc061c8703ec37230
Parents: 8f47b1b
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Mar 28 10:30:31 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Mar 28 10:30:31 2017 +0200

----------------------------------------------------------------------
 .../apache/camel/model/OnExceptionDefinition.java   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6a15b8e6/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java b/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
index 46ebf11..47fbc92 100644
--- a/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
@@ -74,7 +74,7 @@ public class OnExceptionDefinition extends ProcessorDefinition<OnExceptionDefini
     @XmlAttribute(name = "onRedeliveryRef")
     private String onRedeliveryRef;
     @XmlAttribute(name = "onExceptionOccurredRef")
-    private String onExceptionbOccurredRef;
+    private String onExceptionOccurredRef;
     @XmlAttribute(name = "useOriginalMessage")
     private Boolean useOriginalMessagePolicy;
     @XmlElementRef
@@ -838,7 +838,7 @@ public class OnExceptionDefinition extends ProcessorDefinition<OnExceptionDefini
      * @param ref  reference to the processor
      */
     public OnExceptionDefinition onExceptionOccurredRef(String ref) {
-        setOnExceptionbOccurredRef(ref);
+        setOnExceptionOccurredRef(ref);
         return this;
     }
 
@@ -988,12 +988,12 @@ public class OnExceptionDefinition extends ProcessorDefinition<OnExceptionDefini
         this.onExceptionOccurred = onExceptionOccurred;
     }
 
-    public String getOnExceptionbOccurredRef() {
-        return onExceptionbOccurredRef;
+    public String getOnExceptionOccurredRef() {
+        return onExceptionOccurredRef;
     }
 
-    public void setOnExceptionbOccurredRef(String onExceptionbOccurredRef) {
-        this.onExceptionbOccurredRef = onExceptionbOccurredRef;
+    public void setOnExceptionOccurredRef(String onExceptionOccurredRef) {
+        this.onExceptionOccurredRef = onExceptionOccurredRef;
     }
 
     public Boolean getUseOriginalMessagePolicy() {
@@ -1060,9 +1060,9 @@ public class OnExceptionDefinition extends ProcessorDefinition<OnExceptionDefini
 
     private void setOnExceptionOccurredFromOnExceptionOccurredRef(RouteContext routeContext)
{
         // lookup onRedelivery if ref is provided
-        if (ObjectHelper.isNotEmpty(onExceptionbOccurredRef)) {
+        if (ObjectHelper.isNotEmpty(onExceptionOccurredRef)) {
             // if ref is provided then use mandatory lookup to fail if not found
-            Processor onExceptionOccurred = CamelContextHelper.mandatoryLookup(routeContext.getCamelContext(),
onExceptionbOccurredRef, Processor.class);
+            Processor onExceptionOccurred = CamelContextHelper.mandatoryLookup(routeContext.getCamelContext(),
onExceptionOccurredRef, Processor.class);
             setOnExceptionOccurred(onExceptionOccurred);
         }
     }


Mime
View raw message