This is an automated email from the ASF dual-hosted git repository. ffang pushed a commit to branch camel-spring-boot-3.21.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit ea1db167ee6942b6df4ea3f0a22131ede58d8075 Author: Freeman Fang <[email protected]> AuthorDate: Fri Oct 20 11:05:47 2023 -0400 fix another camel-cxf broken test --- .../org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components-starter/camel-cxf-soap-starter/src/test/java/org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java b/components-starter/camel-cxf-soap-starter/src/test/java/org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java index c7d894d606f..97f422d4ea3 100644 --- a/components-starter/camel-cxf-soap-starter/src/test/java/org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java +++ b/components-starter/camel-cxf-soap-starter/src/test/java/org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java @@ -97,7 +97,7 @@ public class SslTest { public void testInvokingNoTrustRoute() throws Exception { Exchange reply = sendJaxWsMessage("direct:noTrust"); assertTrue(reply.isFailed(), "We expect the exception here"); - Throwable e = reply.getException().getCause(); + Throwable e = reply.getException(); assertEquals("javax.net.ssl.SSLHandshakeException", e.getClass().getCanonicalName()); }
