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 2023/07/15 09:01:55 UTC

[camel] 03/04: CAMEL-19607: camel-core - Fix error handler redeliveryPolicyRef

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

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

commit 7265fabca5ea26889662086bd4630877ddd98bf1
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Jul 15 10:34:24 2023 +0200

    CAMEL-19607: camel-core - Fix error handler redeliveryPolicyRef
---
 .../src/test/groovy/org/apache/camel/dsl/yaml/ErrorHandlerTest.groovy   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/ErrorHandlerTest.groovy b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/ErrorHandlerTest.groovy
index 9e9bdb4f2ef..9916666c407 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/ErrorHandlerTest.groovy
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/ErrorHandlerTest.groovy
@@ -164,7 +164,7 @@ class ErrorHandlerTest extends YamlTestSupport {
         when:
         context.start()
         then:
-        with(context.getCamelContextExtension().getErrorHandlerFactory(), DefaultErrorHandlerDefinition) {
+        with(context.getErrorHandlerFactory(), DefaultErrorHandlerDefinition) {
             useOriginalMessage == "true"
             hasRedeliveryPolicy() == false
             redeliveryPolicyRef == "myPolicy"