[camel] branch master updated: CAMEL-14169: Make it easier to configure global endpoint options once

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated: CAMEL-14169: Make it easier to configure global endpoint options once

davsclaus-2
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 4cd78e5  CAMEL-14169: Make it easier to configure global endpoint options once
4cd78e5 is described below

commit 4cd78e57f934e41d238a30f93182c21751e5d352
Author: Claus Ibsen <[hidden email]>
AuthorDate: Wed Nov 13 06:36:18 2019 +0100

    CAMEL-14169: Make it easier to configure global endpoint options once
---
 .../src/main/java/org/apache/camel/component/mllp/MllpComponent.java  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpComponent.java b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpComponent.java
index aacff29..8b4a640 100644
--- a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpComponent.java
+++ b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpComponent.java
@@ -51,10 +51,14 @@ public class MllpComponent extends DefaultComponent {
     MllpConfiguration configuration;
 
     public MllpComponent() {
+        // bridge error handler by default
+        setBridgeErrorHandler(true);
     }
 
     public MllpComponent(CamelContext context) {
         super(context);
+        // bridge error handler by default
+        setBridgeErrorHandler(true);
     }
 
     @Override