You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2018/04/16 10:35:37 UTC
[camel] branch camel-2.21.x updated (1747ce3 -> 13a743a)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git.
from 1747ce3 Fixed simple language doc TIP section
new b6c3f26 CAMEL-12447: camel-jms - Exclude spring-messaging JAR
new 13a743a CAMEL-12446: Splitter - Make it easier to turn off propgate exception
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../camel/processor/aggregate/UseOriginalAggregationStrategy.java | 4 ++++
.../java/org/apache/camel/util/toolbox/AggregationStrategies.java | 2 +-
components/camel-jms/pom.xml | 6 ++++++
3 files changed, 11 insertions(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
davsclaus@apache.org.
[camel] 01/02: CAMEL-12447: camel-jms - Exclude spring-messaging JAR
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit b6c3f26bbd44832721cb614bf2dfb52535357845
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Apr 16 12:18:26 2018 +0200
CAMEL-12447: camel-jms - Exclude spring-messaging JAR
---
components/camel-jms/pom.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/components/camel-jms/pom.xml b/components/camel-jms/pom.xml
index f30d9b8..7ffe241 100644
--- a/components/camel-jms/pom.xml
+++ b/components/camel-jms/pom.xml
@@ -49,6 +49,12 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-messaging</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
--
To stop receiving notification emails like this one, please contact
davsclaus@apache.org.
[camel] 02/02: CAMEL-12446: Splitter - Make it easier to turn off
propgate exception
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 13a743a138e5fa0349d7b2f1cf62cf296c4e301f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Apr 16 12:19:20 2018 +0200
CAMEL-12446: Splitter - Make it easier to turn off propgate exception
---
.../camel/processor/aggregate/UseOriginalAggregationStrategy.java | 4 ++++
.../java/org/apache/camel/util/toolbox/AggregationStrategies.java | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseOriginalAggregationStrategy.java b/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseOriginalAggregationStrategy.java
index dbd60c5..5b3ac53 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseOriginalAggregationStrategy.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/aggregate/UseOriginalAggregationStrategy.java
@@ -35,6 +35,10 @@ public class UseOriginalAggregationStrategy implements AggregationStrategy {
this(null, true);
}
+ public UseOriginalAggregationStrategy(boolean propagateException) {
+ this.propagateException = propagateException;
+ }
+
public UseOriginalAggregationStrategy(Exchange original, boolean propagateException) {
this.original = original;
this.propagateException = propagateException;
diff --git a/camel-core/src/main/java/org/apache/camel/util/toolbox/AggregationStrategies.java b/camel-core/src/main/java/org/apache/camel/util/toolbox/AggregationStrategies.java
index ac68858..4952be1 100644
--- a/camel-core/src/main/java/org/apache/camel/util/toolbox/AggregationStrategies.java
+++ b/camel-core/src/main/java/org/apache/camel/util/toolbox/AggregationStrategies.java
@@ -77,7 +77,7 @@ public final class AggregationStrategies {
* @see org.apache.camel.processor.aggregate.UseOriginalAggregationStrategy
*/
public static AggregationStrategy useOriginal(boolean propagateException) {
- return new UseOriginalAggregationStrategy(null, propagateException);
+ return new UseOriginalAggregationStrategy(propagateException);
}
/**
--
To stop receiving notification emails like this one, please contact
davsclaus@apache.org.