This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git
The following commit(s) were added to refs/heads/master by this push: new 36ae8b4 groovy-loader: add error handler support to the dsl 36ae8b4 is described below commit 36ae8b407329e5bfccb0fae5cac528a0a3a5494a Author: lburgazzoli <lburgazz...@gmail.com> AuthorDate: Wed May 27 18:46:32 2020 +0200 groovy-loader: add error handler support to the dsl --- .../apache/camel/k/loader/groovy/dsl/IntegrationConfiguration.groovy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/camel-k-loader-groovy/src/main/groovy/org/apache/camel/k/loader/groovy/dsl/IntegrationConfiguration.groovy b/camel-k-loader-groovy/src/main/groovy/org/apache/camel/k/loader/groovy/dsl/IntegrationConfiguration.groovy index 1776ad8..ba9ca16 100644 --- a/camel-k-loader-groovy/src/main/groovy/org/apache/camel/k/loader/groovy/dsl/IntegrationConfiguration.groovy +++ b/camel-k-loader-groovy/src/main/groovy/org/apache/camel/k/loader/groovy/dsl/IntegrationConfiguration.groovy @@ -19,6 +19,7 @@ package org.apache.camel.k.loader.groovy.dsl import org.apache.camel.builder.BuilderSupport import org.apache.camel.builder.EndpointConsumerBuilder +import org.apache.camel.builder.ErrorHandlerBuilder import org.apache.camel.builder.endpoint.EndpointBuilderFactory import org.apache.camel.builder.endpoint.EndpointRouteBuilder import org.apache.camel.model.InterceptDefinition @@ -104,4 +105,8 @@ class IntegrationConfiguration extends BuilderSupport implements Support, Endpoi InterceptSendToEndpointDefinition interceptSendToEndpoint(String uri) { return builder.interceptSendToEndpoint(uri) } + + void errorHandler(ErrorHandlerBuilder handler) { + builder.errorHandler(handler) + } }