You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/03/08 14:54:05 UTC

[camel] 06/06: CAMEL-17763: cleaned up unused exceptions in camel-undertow

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

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

commit 778a35dfc991883982f6ac300b28b19f97955643
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Mar 8 14:31:09 2022 +0100

    CAMEL-17763: cleaned up unused exceptions in camel-undertow
---
 .../camel/component/undertow/BaseUndertowTest.java       |  4 ++--
 .../undertow/DefaultUndertowHttpBindingTest.java         |  2 +-
 .../camel/component/undertow/MultiPartFormTest.java      |  6 +++---
 .../undertow/PreservePostFormUrlEncodedBodyTest.java     |  6 +++---
 .../camel/component/undertow/UndertowComponentTest.java  |  2 +-
 .../undertow/UndertowComponentVerifierExtensionTest.java | 12 ++++++------
 .../undertow/UndertowComponentVerifierTest.java          | 12 ++++++------
 .../undertow/UndertowConsumerUnregisterTest.java         |  4 ++--
 .../camel/component/undertow/UndertowEndpointTest.java   |  3 +--
 .../camel/component/undertow/UndertowError500Test.java   |  4 ++--
 .../component/undertow/UndertowHandlersSpringTest.java   |  2 +-
 .../camel/component/undertow/UndertowHeaderTest.java     |  4 ++--
 .../camel/component/undertow/UndertowHttp2Test.java      |  2 +-
 .../undertow/UndertowHttpProducerSessionTest.java        |  8 ++++----
 .../component/undertow/UndertowHttpProducerTest.java     |  4 ++--
 .../undertow/UndertowHttpProxyPreserveHostTest.java      |  4 ++--
 .../undertow/UndertowHttpStreamCachingTest.java          |  6 +++---
 .../component/undertow/UndertowHttpStreamingTest.java    |  4 ++--
 .../component/undertow/UndertowHttpsSpringTest.java      |  2 +-
 .../component/undertow/UndertowMethodRestricTest.java    |  4 ++--
 .../component/undertow/UndertowNoAutoStartupTest.java    |  4 ++--
 .../component/undertow/UndertowPrefixMatchingTest.java   |  8 ++++----
 .../undertow/UndertowProducerContentTypeTest.java        |  4 ++--
 .../component/undertow/UndertowProducerLeakTest.java     |  4 ++--
 .../camel/component/undertow/UndertowProducerTest.java   |  4 ++--
 .../UndertowProducerThrowExceptionOnFailureTest.java     |  6 +++---
 .../component/undertow/UndertowSendDynamicAwareTest.java |  6 +++---
 .../camel/component/undertow/UndertowSharedPortTest.java |  2 +-
 .../component/undertow/UndertowSuspendResumeTest.java    |  6 +++---
 .../undertow/UndertowSwitchingStatus204Test.java         | 16 ++++++++--------
 .../undertow/cloud/UndertowServiceCallRouteTest.java     |  8 ++++----
 .../component/undertow/rest/RestApiUndertowTest.java     |  6 +++---
 .../camel/component/undertow/rest/RestGetTest.java       |  4 ++--
 .../component/undertow/rest/RestManagementTest.java      |  2 +-
 .../undertow/rest/RestUndertowComponentVerifierTest.java | 12 ++++++------
 .../undertow/rest/RestUndertowContentTypeTest.java       |  6 +++---
 .../RestUndertowHttpBindingModeAutoWithJsonTest.java     |  4 ++--
 .../rest/RestUndertowHttpBindingModeAutoWithXmlTest.java |  4 ++--
 .../rest/RestUndertowHttpBindingModeJsonTest.java        |  4 ++--
 .../RestUndertowHttpBindingModeJsonWithContractTest.java |  4 ++--
 .../RestUndertowHttpBindingModeOffWithContractTest.java  |  4 ++--
 .../rest/RestUndertowHttpBindingModeXmlTest.java         |  4 ++--
 .../RestUndertowHttpContextPathConfigurationTest.java    |  6 +++---
 .../rest/RestUndertowHttpContextPathMatchGetTest.java    |  6 +++---
 .../undertow/rest/RestUndertowHttpGetCorsTest.java       |  4 ++--
 .../rest/RestUndertowHttpGetOrderingIssueTest.java       |  4 ++--
 .../component/undertow/rest/RestUndertowHttpGetTest.java |  6 +++---
 .../undertow/rest/RestUndertowHttpGetWildcardsTest.java  |  8 ++++----
 .../undertow/rest/RestUndertowHttpMultipleVerbsTest.java |  4 ++--
 .../undertow/rest/RestUndertowHttpOptionsTest.java       |  6 +++---
 .../undertow/rest/RestUndertowHttpPojoInOutTest.java     |  8 ++++----
 .../undertow/rest/RestUndertowHttpPojoTypeTest.java      |  8 ++++----
 .../rest/RestUndertowHttpPostJsonJaxbPojoTest.java       |  4 ++--
 .../rest/RestUndertowHttpPostJsonNestedPojoListTest.java |  4 ++--
 .../rest/RestUndertowHttpPostJsonPojoListTest.java       |  4 ++--
 .../undertow/rest/RestUndertowHttpPostJsonPojoTest.java  |  4 ++--
 .../rest/RestUndertowHttpPostXmlJaxbPojoTest.java        |  4 ++--
 .../undertow/rest/RestUndertowMethodNotAllowedTest.java  |  2 +-
 .../undertow/rest/RestUndertowProducerEncodingTest.java  |  8 ++++----
 .../undertow/rest/RestUndertowProducerGetPojoTest.java   |  6 +++---
 .../undertow/rest/RestUndertowProducerGetTest.java       |  6 +++---
 .../rest/RestUndertowProducerGetUriParameterTest.java    |  6 +++---
 .../undertow/rest/RestUndertowProducerPatchTest.java     |  4 ++--
 .../undertow/rest/RestUndertowProducerPutTest.java       |  4 ++--
 .../RestUndertowProducerThrowExceptionErrorTest.java     |  8 ++++----
 .../rest/RestUndertowProducerVerbUpperCaseTest.java      |  6 +++---
 .../undertow/rest/RestUndertowVerbEnableCorsTest.java    |  8 ++++----
 .../component/undertow/rest/RestUndertowVerbTest.java    |  8 ++++----
 .../rest/UndertowHttpEmptyQueryParameterTest.java        |  4 ++--
 .../undertow/spi/AbstractProviderServletTest.java        |  8 ++++----
 .../undertow/spi/AbstractSecurityProviderTest.java       | 12 ++++++------
 .../undertow/spi/SecurityProviderHttpHandlerTest.java    |  2 +-
 .../undertow/spi/SecurityProviderNoAcceptanceTest.java   |  2 +-
 .../spi/SecurityProviderRolesFromComponentTest.java      |  6 +++---
 .../component/undertow/spi/SecurityProviderTest.java     |  2 +-
 .../spi/SecurityProviderWithoutProviderTest.java         |  4 ++--
 .../apache/camel/component/undertow/ws/TestClient.java   |  2 +-
 .../undertow/ws/UndertowWsConsumerRouteTest.java         |  4 ++--
 .../undertow/ws/UndertowWsProducerRouteRestartTest.java  |  2 +-
 .../undertow/ws/UndertowWsProducerRouteTest.java         |  2 +-
 .../component/undertow/ws/UndertowWsTwoRoutesTest.java   |  2 +-
 ...rtowWsTwoRoutesToSameEndpointSendToAllHeaderTest.java |  2 +-
 .../ws/UndertowWsTwoRoutesToSameEndpointTest.java        |  2 +-
 .../component/undertow/ws/UndertowWssRouteTest.java      |  7 +++----
 84 files changed, 212 insertions(+), 214 deletions(-)

diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/BaseUndertowTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/BaseUndertowTest.java
index 72066e0..3800440 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/BaseUndertowTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/BaseUndertowTest.java
@@ -35,7 +35,7 @@ public abstract class BaseUndertowTest extends CamelTestSupport {
     private final AtomicInteger counter = new AtomicInteger(1);
 
     @BeforeAll
-    public static void initPort() throws Exception {
+    public static void initPort() {
         port = AvailablePortFinder.getNextAvailable();
         port2 = AvailablePortFinder.getNextAvailable();
     }
@@ -56,7 +56,7 @@ public abstract class BaseUndertowTest extends CamelTestSupport {
     }
 
     @BindToRegistry("prop")
-    public Properties loadProperties() throws Exception {
+    public Properties loadProperties() {
 
         Properties prop = new Properties();
         prop.setProperty("port", "" + getPort());
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/DefaultUndertowHttpBindingTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/DefaultUndertowHttpBindingTest.java
index 46ec4c3..6898851 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/DefaultUndertowHttpBindingTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/DefaultUndertowHttpBindingTest.java
@@ -96,7 +96,7 @@ public class DefaultUndertowHttpBindingTest {
             boolean mustWait;  // make sure that the caller is not spinning on read==0
 
             @Override
-            public int read(ByteBuffer dst) throws IOException {
+            public int read(ByteBuffer dst) {
                 if (mustWait) {
                     fail("must wait before reading");
                 }
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/MultiPartFormTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/MultiPartFormTest.java
index 3a28199..186f7c1 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/MultiPartFormTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/MultiPartFormTest.java
@@ -37,7 +37,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 
 public class MultiPartFormTest extends BaseUndertowTest {
 
-    private HttpEntity createMultipartRequestEntity() throws Exception {
+    private HttpEntity createMultipartRequestEntity() {
         File file = new File("src/test/resources/log4j2.properties");
         return MultipartEntityBuilder.create()
                 .addTextBody("comment", "A binary file of some kind")
@@ -67,9 +67,9 @@ public class MultiPartFormTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow://http://localhost:{{port}}/test").process(exchange -> {
                     AttachmentMessage in = exchange.getIn(AttachmentMessage.class);
                     assertEquals(1, in.getAttachments().size(), "Get a wrong attachement size");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/PreservePostFormUrlEncodedBodyTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/PreservePostFormUrlEncodedBodyTest.java
index 0b86c90..c85e96d 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/PreservePostFormUrlEncodedBodyTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/PreservePostFormUrlEncodedBodyTest.java
@@ -29,7 +29,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
 public class PreservePostFormUrlEncodedBodyTest extends BaseUndertowTest {
 
     @Test
-    public void testSendToUndertow() throws Exception {
+    public void testSendToUndertow() {
         Exchange exchange = template.request("http://localhost:{{port}}/myapp/myservice?query1=a&query2=b", exchange1 -> {
             exchange1.getIn().setBody("b1=x&b2=y");
             exchange1.getIn().setHeader("content-type", "application/x-www-form-urlencoded");
@@ -41,9 +41,9 @@ public class PreservePostFormUrlEncodedBodyTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/myapp/myservice?map").process(exchange -> {
                     Map body = exchange.getIn().getBody(Map.class);
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentTest.java
index ebb59dc..c9aeb01 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentTest.java
@@ -47,7 +47,7 @@ public class UndertowComponentTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("undertow:http://localhost:{{port}}/myapp")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentVerifierExtensionTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentVerifierExtensionTest.java
index 02a1018..843229f 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentVerifierExtensionTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentVerifierExtensionTest.java
@@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 
 public class UndertowComponentVerifierExtensionTest extends BaseUndertowTest {
     @Test
-    public void testParameters() throws Exception {
+    public void testParameters() {
         Component component = context().getComponent("undertow");
         ComponentVerifierExtension verifier
                 = component.getExtension(ComponentVerifierExtension.class).orElseThrow(IllegalStateException::new);
@@ -45,7 +45,7 @@ public class UndertowComponentVerifierExtensionTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testMissingParameters() throws Exception {
+    public void testMissingParameters() {
         Component component = context().getComponent("undertow");
         ComponentVerifierExtension verifier
                 = component.getExtension(ComponentVerifierExtension.class).orElseThrow(IllegalStateException::new);
@@ -64,7 +64,7 @@ public class UndertowComponentVerifierExtensionTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testConnectivity() throws Exception {
+    public void testConnectivity() {
         Component component = context().getComponent("undertow");
         ComponentVerifierExtension verifier
                 = component.getExtension(ComponentVerifierExtension.class).orElseThrow(IllegalStateException::new);
@@ -79,7 +79,7 @@ public class UndertowComponentVerifierExtensionTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testConnectivityError() throws Exception {
+    public void testConnectivityError() {
         Component component = context().getComponent("undertow");
         ComponentVerifierExtension verifier
                 = component.getExtension(ComponentVerifierExtension.class).orElseThrow(IllegalStateException::new);
@@ -100,10 +100,10 @@ public class UndertowComponentVerifierExtensionTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}")
                         .process(e -> e.getMessage().setBody("ok"));
             }
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentVerifierTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentVerifierTest.java
index dbb8e31..b34d16e 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentVerifierTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowComponentVerifierTest.java
@@ -29,7 +29,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 
 public class UndertowComponentVerifierTest extends BaseUndertowTest {
     @Test
-    public void testParameters() throws Exception {
+    public void testParameters() {
         UndertowComponent component = context().getComponent("undertow", UndertowComponent.class);
         ComponentVerifierExtension verifier = component.getVerifier();
 
@@ -43,7 +43,7 @@ public class UndertowComponentVerifierTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testMissingParameters() throws Exception {
+    public void testMissingParameters() {
         UndertowComponent component = context.getComponent("undertow", UndertowComponent.class);
         ComponentVerifierExtension verifier = component.getVerifier();
 
@@ -61,7 +61,7 @@ public class UndertowComponentVerifierTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testConnectivity() throws Exception {
+    public void testConnectivity() {
         UndertowComponent component = context().getComponent("undertow", UndertowComponent.class);
         ComponentVerifierExtension verifier = component.getVerifier();
 
@@ -75,7 +75,7 @@ public class UndertowComponentVerifierTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testConnectivityError() throws Exception {
+    public void testConnectivityError() {
         UndertowComponent component = context().getComponent("undertow", UndertowComponent.class);
         ComponentVerifierExtension verifier = component.getVerifier();
 
@@ -95,10 +95,10 @@ public class UndertowComponentVerifierTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}")
                         .process(e -> e.getMessage().setBody("ok"));
             }
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowConsumerUnregisterTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowConsumerUnregisterTest.java
index 7505413..d36f663 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowConsumerUnregisterTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowConsumerUnregisterTest.java
@@ -32,7 +32,7 @@ import static org.junit.jupiter.api.Assertions.fail;
 public class UndertowConsumerUnregisterTest extends BaseUndertowTest {
 
     @Test
-    public void testUnregisterUndertowConsumersForPort() throws Exception {
+    public void testUnregisterUndertowConsumersForPort() {
         UndertowComponent component = context.getComponent("undertow", UndertowComponent.class);
         UndertowConsumer consumerFoo = (UndertowConsumer) context.getRoute("route-foo").getConsumer();
         UndertowConsumer consumerBar = (UndertowConsumer) context.getRoute("route-bar").getConsumer();
@@ -89,7 +89,7 @@ public class UndertowConsumerUnregisterTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("undertow:http://localhost:{{port}}/foo")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowEndpointTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowEndpointTest.java
index 8da3b3a..817a13a 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowEndpointTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowEndpointTest.java
@@ -17,7 +17,6 @@
 package org.apache.camel.component.undertow;
 
 import java.net.URI;
-import java.net.URISyntaxException;
 
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
@@ -33,7 +32,7 @@ public class UndertowEndpointTest {
     final URI withoutSlash = URI.create("http://0.0.0.0:8080");
 
     @BeforeEach
-    public void createEndpoint() throws URISyntaxException {
+    public void createEndpoint() {
         endpoint = new UndertowEndpoint(null, null);
     }
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowError500Test.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowError500Test.java
index 8e97eca..347aea0 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowError500Test.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowError500Test.java
@@ -40,10 +40,10 @@ public class UndertowError500Test extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/foo")
                         .to("mock:input")
                         // trigger failure by setting error code to 500
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHandlersSpringTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHandlersSpringTest.java
index eb29bb4..da3ab51 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHandlersSpringTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHandlersSpringTest.java
@@ -55,7 +55,7 @@ public class UndertowHandlersSpringTest {
     }
 
     @AfterAll
-    public static void tearDownJaas() throws Exception {
+    public static void tearDownJaas() {
         System.clearProperty("java.security.auth.login.config");
     }
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHeaderTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHeaderTest.java
index 05533f0..db1fd6d 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHeaderTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHeaderTest.java
@@ -67,10 +67,10 @@ public class UndertowHeaderTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/headers")
                         .to("mock:input")
                         .transform().constant("Bye World");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttp2Test.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttp2Test.java
index 1577e38..348644e 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttp2Test.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttp2Test.java
@@ -67,7 +67,7 @@ public class UndertowHttp2Test extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("undertow:http://localhost:{{port}}/myapp")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProducerSessionTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProducerSessionTest.java
index 2017398..231f2aa 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProducerSessionTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProducerSessionTest.java
@@ -38,7 +38,7 @@ public class UndertowHttpProducerSessionTest extends CamelTestSupport {
     private ExchangeCookieHandler exchangeCookieHandler = new ExchangeCookieHandler();
 
     @BeforeAll
-    public static void initPort() throws Exception {
+    public static void initPort() {
         port = AvailablePortFinder.getNextAvailable();
     }
 
@@ -76,10 +76,10 @@ public class UndertowHttpProducerSessionTest extends CamelTestSupport {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:start")
                         .to("undertow:" + getTestServerEndpointSessionUrl())
                         .to("undertow:" + getTestServerEndpointSessionUrl())
@@ -98,7 +98,7 @@ public class UndertowHttpProducerSessionTest extends CamelTestSupport {
                 from(getTestServerEndpointSessionUri())
                         .process(new Processor() {
                             @Override
-                            public void process(Exchange exchange) throws Exception {
+                            public void process(Exchange exchange) {
                                 Message message = exchange.getIn();
                                 String body = message.getBody(String.class);
                                 // Undertow servers do not support sessions or
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProducerTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProducerTest.java
index bbe3dc8..71f2463 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProducerTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProducerTest.java
@@ -59,10 +59,10 @@ public class UndertowHttpProducerTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/foo")
                         .to("mock:input")
                         .transform().constant("Bye World");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProxyPreserveHostTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProxyPreserveHostTest.java
index 043e1cc..9a4957e 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProxyPreserveHostTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpProxyPreserveHostTest.java
@@ -47,10 +47,10 @@ public class UndertowHttpProxyPreserveHostTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}")
                         .toD("undertow:http://localhost:{{port2}}?bridgeEndpoint=true${body}");
                 from("undertow:http://localhost:{{port2}}")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamCachingTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamCachingTest.java
index b31309f..a554932 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamCachingTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamCachingTest.java
@@ -28,17 +28,17 @@ public class UndertowHttpStreamCachingTest extends BaseUndertowTest {
     private String data = "abcdefg";
 
     @Test
-    public void testTwoWayStreaming() throws Exception {
+    public void testTwoWayStreaming() {
         Exchange exchange = template.request("undertow:http://localhost:{{port}}/client", null);
 
         assertEquals(data, new String((byte[]) exchange.getMessage().getBody()));
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
 
                 getContext().setStreamCaching(true);
                 getContext().getStreamCachingStrategy().setSpoolThreshold(3);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamingTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamingTest.java
index 2275154..1d463de 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamingTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpStreamingTest.java
@@ -107,10 +107,10 @@ public class UndertowHttpStreamingTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}?useStreaming=true")
                         .process(e -> consumeStream(e))
                         .to("mock:length")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpsSpringTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpsSpringTest.java
index bf2fca4..997ada9 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpsSpringTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowHttpsSpringTest.java
@@ -52,7 +52,7 @@ public class UndertowHttpsSpringTest {
     }
 
     @AfterAll
-    public static void tearDownJaas() throws Exception {
+    public static void tearDownJaas() {
         System.clearProperty("java.security.auth.login.config");
     }
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowMethodRestricTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowMethodRestricTest.java
index bbd754e..b2aceae 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowMethodRestricTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowMethodRestricTest.java
@@ -69,10 +69,10 @@ public class UndertowMethodRestricTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow://http://localhost:{{port}}/methodRestrict?httpMethodRestrict=POST").process(exchange -> {
                     Message in = exchange.getIn();
                     String request = in.getBody(String.class);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowNoAutoStartupTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowNoAutoStartupTest.java
index 8dbc487..f47eeaf 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowNoAutoStartupTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowNoAutoStartupTest.java
@@ -21,11 +21,11 @@ import org.junit.jupiter.api.Test;
 
 public class UndertowNoAutoStartupTest extends BaseUndertowTest {
     @Test
-    public void testUndertow() throws Exception {
+    public void testUndertow() {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("undertow:http://localhost:{{port}}/myapp")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowPrefixMatchingTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowPrefixMatchingTest.java
index de88316..5d9bd49 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowPrefixMatchingTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowPrefixMatchingTest.java
@@ -29,13 +29,13 @@ import static org.junit.jupiter.api.Assertions.fail;
 public class UndertowPrefixMatchingTest extends BaseUndertowTest {
 
     @Test
-    public void passOnExactPath() throws Exception {
+    public void passOnExactPath() {
         template.requestBody("http://localhost:{{port}}/myapp/suffix", "Hello Camel!");
         getMockEndpoint("mock:myapp").expectedHeaderReceived(Exchange.HTTP_RESPONSE_CODE, 200);
     }
 
     @Test
-    public void failsOnPrefixPath() throws Exception {
+    public void failsOnPrefixPath() {
         try {
             template.requestBody("http://localhost:{{port}}/myapp", "Hello Camel!");
             fail("Should fail, something is wrong");
@@ -46,13 +46,13 @@ public class UndertowPrefixMatchingTest extends BaseUndertowTest {
     }
 
     @Test
-    public void passOnPrefixPath() throws Exception {
+    public void passOnPrefixPath() {
         template.requestBody("http://localhost:{{port}}/bar/somethingNotImportant", "Hello Camel!");
         getMockEndpoint("mock:myapp").expectedHeaderReceived(Exchange.HTTP_RESPONSE_CODE, 200);
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("undertow:http://localhost:{{port}}/myapp/suffix")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerContentTypeTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerContentTypeTest.java
index 33eee29..44a2d38 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerContentTypeTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerContentTypeTest.java
@@ -38,10 +38,10 @@ public class UndertowProducerContentTypeTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration()
                         .producerComponent("undertow").component("undertow")
                         .host("localhost").port("{{port}}")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerLeakTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerLeakTest.java
index 2023334..ae133c9 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerLeakTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerLeakTest.java
@@ -31,10 +31,10 @@ public class UndertowProducerLeakTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/test").to("log:undertow?showAll=true").to("mock:result");
 
                 from("timer:foo?period=100").transform(constant("hello world"))
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerTest.java
index 9c1a79a..2c422a9 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerTest.java
@@ -96,12 +96,12 @@ public class UndertowProducerTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             private InputStream is = new ByteArrayInputStream("This is the InputStream".getBytes());
 
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/foo")
                         .to("mock:input")
                         .transform().constant("Bye World");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerThrowExceptionOnFailureTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerThrowExceptionOnFailureTest.java
index 7b441ee..9a7da17 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerThrowExceptionOnFailureTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowProducerThrowExceptionOnFailureTest.java
@@ -33,7 +33,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 public class UndertowProducerThrowExceptionOnFailureTest extends BaseUndertowTest {
 
     @Test
-    public void testFailWithoutException() throws Exception {
+    public void testFailWithoutException() {
         String out = template().requestBody("undertow:http://localhost:{{port}}/fail?throwExceptionOnFailure=false", null,
                 String.class);
         assertEquals("Fail", out);
@@ -67,10 +67,10 @@ public class UndertowProducerThrowExceptionOnFailureTest extends BaseUndertowTes
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration()
                         .component("undertow").port(getPort2())
                         .bindingMode(RestBindingMode.json);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSendDynamicAwareTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSendDynamicAwareTest.java
index ef49b82..602c1f1 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSendDynamicAwareTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSendDynamicAwareTest.java
@@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 public class UndertowSendDynamicAwareTest extends BaseUndertowTest {
 
     @Test
-    public void testDynamicAware() throws Exception {
+    public void testDynamicAware() {
         String out = fluentTemplate.to("direct:moes").withHeader("drink", "beer").request(String.class);
         assertEquals("Drinking beer", out);
 
@@ -43,10 +43,10 @@ public class UndertowSendDynamicAwareTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RoutesBuilder createRouteBuilder() throws Exception {
+    protected RoutesBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:moes")
                         .toD("undertow:http://localhost:{{port}}/moes?throwExceptionOnFailure=false&drink=${header.drink}");
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSharedPortTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSharedPortTest.java
index 50cfa48..457afed 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSharedPortTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSharedPortTest.java
@@ -57,7 +57,7 @@ public class UndertowSharedPortTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("undertow:http://localhost:{{port}}/first")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSuspendResumeTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSuspendResumeTest.java
index d7131a7..09af068 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSuspendResumeTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSuspendResumeTest.java
@@ -30,7 +30,7 @@ public class UndertowSuspendResumeTest extends BaseUndertowTest {
     private String serverUri = "http://localhost:{{port}}/foo";
 
     @Test
-    public void testSuspendResume() throws Exception {
+    public void testSuspendResume() {
         context.getShutdownStrategy().setTimeout(50);
 
         String reply = template.requestBody(serverUri, "World", String.class);
@@ -60,10 +60,10 @@ public class UndertowSuspendResumeTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow://" + serverUri).id("route1").transform(body().prepend("Bye "));
             }
         };
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSwitchingStatus204Test.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSwitchingStatus204Test.java
index 6554f7e..9d7617d 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSwitchingStatus204Test.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/UndertowSwitchingStatus204Test.java
@@ -44,7 +44,7 @@ public class UndertowSwitchingStatus204Test extends BaseUndertowTest {
     }
 
     @Test
-    public void testSwitchingNoBodyTo204NettyHttpViaCamelEmptyBody() throws Exception {
+    public void testSwitchingNoBodyTo204NettyHttpViaCamelEmptyBody() {
         Exchange inExchange = this.createExchangeWithBody("Hello World");
         Exchange outExchange = template.send("undertow:http://localhost:{{port}}/foo", inExchange);
 
@@ -54,7 +54,7 @@ public class UndertowSwitchingStatus204Test extends BaseUndertowTest {
     }
 
     @Test
-    public void testSwitchingNoBodyTo204ViaCamelRouteEmptyBody() throws Exception {
+    public void testSwitchingNoBodyTo204ViaCamelRouteEmptyBody() {
         Exchange inExchange = this.createExchangeWithBody("Hello World");
         Exchange outExchange = template.send("direct:foo", inExchange);
 
@@ -75,7 +75,7 @@ public class UndertowSwitchingStatus204Test extends BaseUndertowTest {
     }
 
     @Test
-    public void testNoSwitchingHasBodyNettyHttpViaCamelNoContent() throws Exception {
+    public void testNoSwitchingHasBodyNettyHttpViaCamelNoContent() {
         Exchange inExchange = this.createExchangeWithBody("Hello World");
         Exchange outExchange = template.send("undertow:http://localhost:{{port}}/bar", inExchange);
 
@@ -85,7 +85,7 @@ public class UndertowSwitchingStatus204Test extends BaseUndertowTest {
     }
 
     @Test
-    public void testNoSwitchingHasBodyViaCamelRouteNoContent() throws Exception {
+    public void testNoSwitchingHasBodyViaCamelRouteNoContent() {
         Exchange inExchange = this.createExchangeWithBody("Hello World");
         Exchange outExchange = template.send("direct:bar", inExchange);
 
@@ -106,7 +106,7 @@ public class UndertowSwitchingStatus204Test extends BaseUndertowTest {
     }
 
     @Test
-    public void testNoSwitchingHasCodeNettyHttpViaCamelNoContent() throws Exception {
+    public void testNoSwitchingHasCodeNettyHttpViaCamelNoContent() {
         Exchange inExchange = this.createExchangeWithBody("Hello World");
         Exchange outExchange = template.send("undertow:http://localhost:{{port}}/foobar", inExchange);
 
@@ -116,7 +116,7 @@ public class UndertowSwitchingStatus204Test extends BaseUndertowTest {
     }
 
     @Test
-    public void testNoSwitchingHasCodeViaCamelRouteNoContent() throws Exception {
+    public void testNoSwitchingHasCodeViaCamelRouteNoContent() {
         Exchange inExchange = this.createExchangeWithBody("Hello World");
         Exchange outExchange = template.send("direct:foobar", inExchange);
 
@@ -126,10 +126,10 @@ public class UndertowSwitchingStatus204Test extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
 
                 from("undertow:http://localhost:{{port}}/foo")
                         .setBody().constant("");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/cloud/UndertowServiceCallRouteTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/cloud/UndertowServiceCallRouteTest.java
index af2fb43..ae96ccc 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/cloud/UndertowServiceCallRouteTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/cloud/UndertowServiceCallRouteTest.java
@@ -44,7 +44,7 @@ public class UndertowServiceCallRouteTest extends CamelTestSupport {
     }
 
     @Test
-    public void testCustomCall() throws Exception {
+    public void testCustomCall() {
         BeanIntrospection bi = context.adapt(ExtendedCamelContext.class).getBeanIntrospection();
 
         assertEquals("8081", template.requestBody("direct:custom", "hello", String.class));
@@ -55,7 +55,7 @@ public class UndertowServiceCallRouteTest extends CamelTestSupport {
     }
 
     @Test
-    public void testDefaultSchema() throws Exception {
+    public void testDefaultSchema() {
         BeanIntrospection bi = context.adapt(ExtendedCamelContext.class).getBeanIntrospection();
 
         try {
@@ -69,10 +69,10 @@ public class UndertowServiceCallRouteTest extends CamelTestSupport {
     }
 
     @Override
-    protected RoutesBuilder createRouteBuilder() throws Exception {
+    protected RoutesBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:custom")
                         .serviceCall()
                         .name("myService")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestApiUndertowTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestApiUndertowTest.java
index d6705b3..b4fedb8 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestApiUndertowTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestApiUndertowTest.java
@@ -34,7 +34,7 @@ public class RestApiUndertowTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testApi() throws Exception {
+    public void testApi() {
         String out = template.requestBody("undertow:http://localhost:{{port}}/api-doc", null, String.class);
         assertNotNull(out);
         assertTrue(out.contains("\"version\" : \"1.2.3\""));
@@ -45,10 +45,10 @@ public class RestApiUndertowTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort()).apiContextPath("/api-doc")
                         .apiProperty("cors", "true").apiProperty("api.title", "The hello rest thing")
                         .apiProperty("api.version", "1.2.3");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestGetTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestGetTest.java
index cda2bb9..701e2f5 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestGetTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestGetTest.java
@@ -25,13 +25,13 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestGetTest extends BaseUndertowTest {
 
     @Test
-    public void testUndertowProducerGet() throws Exception {
+    public void testUndertowProducerGet() {
         String out = template.requestBody("undertow:http://localhost:{{port}}/users/123/basic", null, String.class);
         assertEquals("123;Donald Duck", out);
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort());
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestManagementTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestManagementTest.java
index 8cfa2fc..961eb44 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestManagementTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestManagementTest.java
@@ -52,7 +52,7 @@ public class RestManagementTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort());
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowComponentVerifierTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowComponentVerifierTest.java
index 6b1cfe2..8651fb9 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowComponentVerifierTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowComponentVerifierTest.java
@@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 
 public class RestUndertowComponentVerifierTest extends BaseUndertowTest {
     @Test
-    public void testParameters() throws Exception {
+    public void testParameters() {
         RestComponent component = context().getComponent("rest", RestComponent.class);
         ComponentVerifierExtension verifier = component.getVerifier();
 
@@ -46,7 +46,7 @@ public class RestUndertowComponentVerifierTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testMissingRestParameters() throws Exception {
+    public void testMissingRestParameters() {
         RestComponent component = context.getComponent("rest", RestComponent.class);
         ComponentVerifierExtension verifier = component.getVerifier();
 
@@ -70,7 +70,7 @@ public class RestUndertowComponentVerifierTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testWrongComponentParameters() throws Exception {
+    public void testWrongComponentParameters() {
         RestComponent component = context.getComponent("rest", RestComponent.class);
         ComponentVerifierExtension verifier = component.getVerifier();
 
@@ -95,7 +95,7 @@ public class RestUndertowComponentVerifierTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testConnectivity() throws Exception {
+    public void testConnectivity() {
         RestComponent component = context().getComponent("rest", RestComponent.class);
         ComponentVerifierExtension verifier = component.getVerifier();
 
@@ -111,10 +111,10 @@ public class RestUndertowComponentVerifierTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration()
                         .component("undertow")
                         .host("localhost")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowContentTypeTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowContentTypeTest.java
index 85ea4b9..d650223 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowContentTypeTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowContentTypeTest.java
@@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
 public class RestUndertowContentTypeTest extends BaseUndertowTest {
 
     @Test
-    public void testProducerNoContentType() throws Exception {
+    public void testProducerNoContentType() {
         String out = fluentTemplate.withHeader(Exchange.HTTP_METHOD, "post").withBody("{ \"name\": \"Donald Duck\" }")
                 .to("http://localhost:" + getPort() + "/users/123/update")
                 .request(String.class);
@@ -39,7 +39,7 @@ public class RestUndertowContentTypeTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testProducerContentTypeValid() throws Exception {
+    public void testProducerContentTypeValid() {
         String out = fluentTemplate.withHeader(Exchange.CONTENT_TYPE, "application/json")
                 .withHeader(Exchange.HTTP_METHOD, "post").withBody("{ \"name\": \"Donald Duck\" }")
                 .to("http://localhost:" + getPort() + "/users/123/update").request(String.class);
@@ -62,7 +62,7 @@ public class RestUndertowContentTypeTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testProducerMultiContentTypeValid() throws Exception {
+    public void testProducerMultiContentTypeValid() {
         String out = fluentTemplate.withHeader("Accept", "application/csv")
                 .withHeader(Exchange.HTTP_METHOD, "get")
                 .to("http://localhost:" + getPort() + "/users").request(String.class);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeAutoWithJsonTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeAutoWithJsonTest.java
index 13ddcdd..111f9bc 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeAutoWithJsonTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeAutoWithJsonTest.java
@@ -45,10 +45,10 @@ public class RestUndertowHttpBindingModeAutoWithJsonTest extends BaseUndertowTes
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.auto);
 
                 // use the rest DSL to define the rest services
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeAutoWithXmlTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeAutoWithXmlTest.java
index c0df305..39ffb15 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeAutoWithXmlTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeAutoWithXmlTest.java
@@ -45,10 +45,10 @@ public class RestUndertowHttpBindingModeAutoWithXmlTest extends BaseUndertowTest
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.auto);
 
                 // use the rest DSL to define the rest services
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeJsonTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeJsonTest.java
index 934e644..0701e8e 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeJsonTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeJsonTest.java
@@ -60,10 +60,10 @@ public class RestUndertowHttpBindingModeJsonTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.json);
 
                 // use the rest DSL to define the rest services
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeJsonWithContractTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeJsonWithContractTest.java
index a3faaaa..1d3b829 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeJsonWithContractTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeJsonWithContractTest.java
@@ -54,10 +54,10 @@ public class RestUndertowHttpBindingModeJsonWithContractTest extends BaseUnderto
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 context.getTypeConverterRegistry().addTypeConverters(new MyTypeConverters());
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.json);
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeOffWithContractTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeOffWithContractTest.java
index 739037f..055a1b2 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeOffWithContractTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeOffWithContractTest.java
@@ -56,10 +56,10 @@ public class RestUndertowHttpBindingModeOffWithContractTest extends BaseUndertow
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.off);
 
                 JsonDataFormat jsondf = new JsonDataFormat();
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeXmlTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeXmlTest.java
index d916a7a..3a881a2 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeXmlTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpBindingModeXmlTest.java
@@ -63,10 +63,10 @@ public class RestUndertowHttpBindingModeXmlTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.xml);
 
                 // use the rest DSL to define the rest services
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpContextPathConfigurationTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpContextPathConfigurationTest.java
index fdff1a8..ae3d9dd 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpContextPathConfigurationTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpContextPathConfigurationTest.java
@@ -25,7 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowHttpContextPathConfigurationTest extends BaseUndertowTest {
 
     @Test
-    public void testProducerGet() throws Exception {
+    public void testProducerGet() {
         String out = template.requestBody("undertow:http://localhost:{{port}}/rest/users/123", null, String.class);
         assertEquals("123;Donald Duck", out);
 
@@ -34,10 +34,10 @@ public class RestUndertowHttpContextPathConfigurationTest extends BaseUndertowTe
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").contextPath("/rest").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpContextPathMatchGetTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpContextPathMatchGetTest.java
index 638927e..6adaf53 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpContextPathMatchGetTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpContextPathMatchGetTest.java
@@ -25,7 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowHttpContextPathMatchGetTest extends BaseUndertowTest {
 
     @Test
-    public void testProducerGet() throws Exception {
+    public void testProducerGet() {
         String out = template.requestBody("undertow:http://localhost:{{port}}/users/123", null, String.class);
         assertEquals("123;Donald Duck", out);
 
@@ -34,10 +34,10 @@ public class RestUndertowHttpContextPathMatchGetTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetCorsTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetCorsTest.java
index 9b3a36a..fcc814d 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetCorsTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetCorsTest.java
@@ -89,10 +89,10 @@ public class RestUndertowHttpGetCorsTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort()).enableCORS(true);
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetOrderingIssueTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetOrderingIssueTest.java
index fe953e1..48b026a 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetOrderingIssueTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetOrderingIssueTest.java
@@ -47,10 +47,10 @@ public class RestUndertowHttpGetOrderingIssueTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetTest.java
index 90f398d..9634590 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetTest.java
@@ -25,16 +25,16 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowHttpGetTest extends BaseUndertowTest {
 
     @Test
-    public void testProducerGet() throws Exception {
+    public void testProducerGet() {
         String out = template.requestBody("undertow:http://localhost:{{port}}/users/123/basic", null, String.class);
         assertEquals("123;Donald Duck", out);
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetWildcardsTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetWildcardsTest.java
index 2937e3d..7df12c6 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetWildcardsTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetWildcardsTest.java
@@ -31,22 +31,22 @@ public class RestUndertowHttpGetWildcardsTest extends BaseUndertowTest {
     private UndertowHttpBinding binding = new DefaultUndertowHttpBinding();
 
     @Test
-    public void testProducerGet() throws Exception {
+    public void testProducerGet() {
         String out = template.requestBody("undertow:http://localhost:{{port}}/users/123/basic", null, String.class);
         assertEquals("123;Donald Duck", out);
     }
 
     @Test
-    public void testServletProducerGetWildcards() throws Exception {
+    public void testServletProducerGetWildcards() {
         String out = template.requestBody("undertow:http://localhost:{{port}}/users/456/name=g*", null, String.class);
         assertEquals("456;Goofy", out);
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpMultipleVerbsTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpMultipleVerbsTest.java
index 05848c8..ebce7d7 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpMultipleVerbsTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpMultipleVerbsTest.java
@@ -40,10 +40,10 @@ public class RestUndertowHttpMultipleVerbsTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpOptionsTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpOptionsTest.java
index e57d7c2..142b2c9 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpOptionsTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpOptionsTest.java
@@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowHttpOptionsTest extends BaseUndertowTest {
 
     @Test
-    public void testUndertowServerOptions() throws Exception {
+    public void testUndertowServerOptions() {
         Exchange exchange = template.request("undertow:http://localhost:" + getPort() + "/users/v1/customers",
                 exchange1 -> exchange1.getIn().setHeader(Exchange.HTTP_METHOD, "OPTIONS"));
 
@@ -51,10 +51,10 @@ public class RestUndertowHttpOptionsTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoInOutTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoInOutTest.java
index a85ffe57..5ce4705 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoInOutTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoInOutTest.java
@@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
 public class RestUndertowHttpPojoInOutTest extends BaseUndertowTest {
 
     @Test
-    public void testUndertowPojoInOut() throws Exception {
+    public void testUndertowPojoInOut() {
         String body = "{\"id\": 123, \"name\": \"Donald Duck\"}";
         String out = template.requestBody("undertow:http://localhost:{{port}}/users/lives", body, String.class);
 
@@ -36,7 +36,7 @@ public class RestUndertowHttpPojoInOutTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testUndertowGetRequest() throws Exception {
+    public void testUndertowGetRequest() {
         String out = template.requestBody("undertow:http://localhost:{{port}}/users/lives", null, String.class);
 
         assertNotNull(out);
@@ -44,10 +44,10 @@ public class RestUndertowHttpPojoInOutTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 // and enable auto binding mode
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.auto);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoTypeTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoTypeTest.java
index 5ebf326..d8ffb7f 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoTypeTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoTypeTest.java
@@ -39,7 +39,7 @@ public class RestUndertowHttpPojoTypeTest extends BaseUndertowTest {
     private final ObjectMapper mapper = new ObjectMapper();
 
     @Test
-    public void testUndertowPojoTypeValidateModel() throws Exception {
+    public void testUndertowPojoTypeValidateModel() {
         // Wasn't clear if there's a way to put this test into camel-core just to test the model
         // perhaps without starting the Camel Context?
 
@@ -83,7 +83,7 @@ public class RestUndertowHttpPojoTypeTest extends BaseUndertowTest {
     }
 
     @Test
-    public void testUndertowPojoTypePutUser() throws Exception {
+    public void testUndertowPojoTypePutUser() {
         Exchange outExchange = template.request("undertow:http://localhost:{{port}}/users/1", exchange -> {
             exchange.getIn().setHeader(Exchange.HTTP_METHOD, "PUT");
             exchange.getIn().setHeader(Exchange.ACCEPT_CONTENT_TYPE, "application/json");
@@ -248,10 +248,10 @@ public class RestUndertowHttpPojoTypeTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 onException(Exception.class)
                         .handled(true)
                         .setHeader(Exchange.HTTP_RESPONSE_CODE, constant(400))
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonJaxbPojoTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonJaxbPojoTest.java
index ee67777..7b294d9 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonJaxbPojoTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonJaxbPojoTest.java
@@ -45,10 +45,10 @@ public class RestUndertowHttpPostJsonJaxbPojoTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 // and enable auto binding mode
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.auto);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonNestedPojoListTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonNestedPojoListTest.java
index a62cd27..a9b15b6 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonNestedPojoListTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonNestedPojoListTest.java
@@ -52,10 +52,10 @@ public class RestUndertowHttpPostJsonNestedPojoListTest extends BaseUndertowTest
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 // and enable auto binding mode
                 restConfiguration()
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonPojoListTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonPojoListTest.java
index 012fbc5..d99a3f5 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonPojoListTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonPojoListTest.java
@@ -52,10 +52,10 @@ public class RestUndertowHttpPostJsonPojoListTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 // and enable auto binding mode
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.auto);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonPojoTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonPojoTest.java
index 4f789e9..4cc27e6 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonPojoTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostJsonPojoTest.java
@@ -45,10 +45,10 @@ public class RestUndertowHttpPostJsonPojoTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 // and enable auto binding mode
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.auto);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostXmlJaxbPojoTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostXmlJaxbPojoTest.java
index 5c6af87..adbebf7 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostXmlJaxbPojoTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPostXmlJaxbPojoTest.java
@@ -63,10 +63,10 @@ public class RestUndertowHttpPostXmlJaxbPojoTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 // and enable auto binding mode
                 restConfiguration().component("undertow").host("localhost").port(getPort()).bindingMode(RestBindingMode.auto);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowMethodNotAllowedTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowMethodNotAllowedTest.java
index 75271b8..2ad8527 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowMethodNotAllowedTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowMethodNotAllowedTest.java
@@ -51,7 +51,7 @@ public class RestUndertowMethodNotAllowedTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
             public void configure() {
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerEncodingTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerEncodingTest.java
index bf2bd0a..9d04099 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerEncodingTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerEncodingTest.java
@@ -25,22 +25,22 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowProducerEncodingTest extends BaseUndertowTest {
 
     @Test
-    public void testSelect() throws Exception {
+    public void testSelect() {
         template.sendBody("rest:get:bw-web-api/v1/objects/timesheets?companyId=RD&select=personId,personName", "Hello World");
     }
 
     @Test
-    public void testFilter() throws Exception {
+    public void testFilter() {
         template.sendBody("rest:get:bw-web-api/v1/objects/timesheets?companyId=RD&select=personId,personName"
                           + "&filter=date(time/date) ge 2020-06-01 and personId eq 'R10019'",
                 "Bye World");
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetPojoTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetPojoTest.java
index 86f90e3..6c841f3 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetPojoTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetPojoTest.java
@@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
 public class RestUndertowProducerGetPojoTest extends BaseUndertowTest {
 
     @Test
-    public void testUndertowGetPojoRequest() throws Exception {
+    public void testUndertowGetPojoRequest() {
         // should not use reflection when using rest binding in the rest producer
         BeanIntrospection bi = context.adapt(ExtendedCamelContext.class).getBeanIntrospection();
         bi.setLoggingLevel(LoggingLevel.INFO);
@@ -51,10 +51,10 @@ public class RestUndertowProducerGetPojoTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 // and enable auto binding mode
                 restConfiguration()
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetTest.java
index 89c265d..2490678 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetTest.java
@@ -25,16 +25,16 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowProducerGetTest extends BaseUndertowTest {
 
     @Test
-    public void testUndertowProducerGet() throws Exception {
+    public void testUndertowProducerGet() {
         String out = fluentTemplate.withHeader("id", "123").to("direct:start").request(String.class);
         assertEquals("123;Donald Duck", out);
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetUriParameterTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetUriParameterTest.java
index 8aa1e51..18dad97 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetUriParameterTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerGetUriParameterTest.java
@@ -25,16 +25,16 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowProducerGetUriParameterTest extends BaseUndertowTest {
 
     @Test
-    public void testUndertowProducerGet() throws Exception {
+    public void testUndertowProducerGet() {
         String out = fluentTemplate.withHeader("id", "123").to("direct:start").request(String.class);
         assertEquals("123;Donald Duck", out);
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerPatchTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerPatchTest.java
index 02f4cdc..6fdd141 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerPatchTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerPatchTest.java
@@ -38,10 +38,10 @@ public class RestUndertowProducerPatchTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerPutTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerPutTest.java
index f26227c..7dab51b 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerPutTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerPutTest.java
@@ -32,10 +32,10 @@ public class RestUndertowProducerPutTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerThrowExceptionErrorTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerThrowExceptionErrorTest.java
index 7782b98..f2e98c9 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerThrowExceptionErrorTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerThrowExceptionErrorTest.java
@@ -28,13 +28,13 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
 public class RestUndertowProducerThrowExceptionErrorTest extends BaseUndertowTest {
 
     @Test
-    public void testUndertowProducerOk() throws Exception {
+    public void testUndertowProducerOk() {
         String out = fluentTemplate.withHeader("id", "123").to("direct:start").request(String.class);
         assertEquals("123;Donald Duck", out);
     }
 
     @Test
-    public void testUndertowProducerFail() throws Exception {
+    public void testUndertowProducerFail() {
         Exchange out = fluentTemplate.withHeader("id", "777").to("direct:start").request(Exchange.class);
         assertNotNull(out);
         assertFalse(out.isFailed(), "Should not have thrown exception");
@@ -42,10 +42,10 @@ public class RestUndertowProducerThrowExceptionErrorTest extends BaseUndertowTes
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort())
                         .endpointProperty("throwExceptionOnFailure", "false");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerVerbUpperCaseTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerVerbUpperCaseTest.java
index 915ca38..ec39cd7 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerVerbUpperCaseTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowProducerVerbUpperCaseTest.java
@@ -26,16 +26,16 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowProducerVerbUpperCaseTest extends BaseUndertowTest {
 
     @Test
-    public void testVerbUpperCase() throws Exception {
+    public void testVerbUpperCase() {
         String out = fluentTemplate.withHeader("id", "123").to("direct:start").request(String.class);
         assertEquals("123;Donald Duck", out);
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 // configure to use undertow on localhost with the given port
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowVerbEnableCorsTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowVerbEnableCorsTest.java
index 8f24bbb..2cfaa91 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowVerbEnableCorsTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowVerbEnableCorsTest.java
@@ -27,14 +27,14 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowVerbEnableCorsTest extends BaseUndertowTest {
 
     @Test
-    public void testGetAll() throws Exception {
+    public void testGetAll() {
         String out = template.requestBodyAndHeader("http://localhost:" + getPort() + "/users", null, Exchange.HTTP_METHOD,
                 "GET", String.class);
         assertEquals("[{ \"id\":\"1\", \"name\":\"Scott\" },{ \"id\":\"2\", \"name\":\"Claus\" }]", out);
     }
 
     @Test
-    public void testGetOne() throws Exception {
+    public void testGetOne() {
         String out = template.requestBodyAndHeader("http://localhost:" + getPort() + "/users/1", null, Exchange.HTTP_METHOD,
                 "GET", String.class);
         assertEquals("{ \"id\":\"1\", \"name\":\"Scott\" }", out);
@@ -78,10 +78,10 @@ public class RestUndertowVerbEnableCorsTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort()).enableCORS(true);
 
                 rest()
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowVerbTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowVerbTest.java
index 6a92d62..bbd4a51 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowVerbTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowVerbTest.java
@@ -27,14 +27,14 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 public class RestUndertowVerbTest extends BaseUndertowTest {
 
     @Test
-    public void testGetAll() throws Exception {
+    public void testGetAll() {
         String out = template.requestBodyAndHeader("http://localhost:" + getPort() + "/users", null, Exchange.HTTP_METHOD,
                 "GET", String.class);
         assertEquals("[{ \"id\":\"1\", \"name\":\"Scott\" },{ \"id\":\"2\", \"name\":\"Claus\" }]", out);
     }
 
     @Test
-    public void testGetOne() throws Exception {
+    public void testGetOne() {
         String out = template.requestBodyAndHeader("http://localhost:" + getPort() + "/users/1", null, Exchange.HTTP_METHOD,
                 "GET", String.class);
         assertEquals("{ \"id\":\"1\", \"name\":\"Scott\" }", out);
@@ -78,10 +78,10 @@ public class RestUndertowVerbTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 restConfiguration().component("undertow").host("localhost").port(getPort());
 
                 rest()
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/UndertowHttpEmptyQueryParameterTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/UndertowHttpEmptyQueryParameterTest.java
index ba0a412..8b99dae 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/UndertowHttpEmptyQueryParameterTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/UndertowHttpEmptyQueryParameterTest.java
@@ -40,10 +40,10 @@ public class UndertowHttpEmptyQueryParameterTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://0.0.0.0:{{port}}/foo")
                         .to("mock:input")
                         .transform().simple("Header: ${header.id}");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/AbstractProviderServletTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/AbstractProviderServletTest.java
index 4fc729e..58a5655 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/AbstractProviderServletTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/AbstractProviderServletTest.java
@@ -43,13 +43,13 @@ public abstract class AbstractProviderServletTest extends BaseUndertowTest {
     public abstract static class MockSecurityProvider implements UndertowSecurityProvider {
 
         @Override
-        public void addHeader(BiConsumer<String, Object> consumer, HttpServerExchange httpExchange) throws Exception {
+        public void addHeader(BiConsumer<String, Object> consumer, HttpServerExchange httpExchange) {
             String principalName = httpExchange.getAttachment(PRINCIPAL_NAME_KEY);
             consumer.accept(AbstractSecurityProviderTest.PRINCIPAL_PARAMETER, principalName);
         }
 
         @Override
-        public int authenticate(HttpServerExchange httpExchange, List<String> allowedRoles) throws Exception {
+        public int authenticate(HttpServerExchange httpExchange, List<String> allowedRoles) {
             ServletRequestContext servletRequestContext = httpExchange.getAttachment(ServletRequestContext.ATTACHMENT_KEY);
             assertServletContext(servletRequestContext);
 
@@ -92,10 +92,10 @@ public abstract class AbstractProviderServletTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/foo?allowedRoles=user")
                         .to("mock:input")
                         .transform(simple("${in.header." + AbstractSecurityProviderTest.PRINCIPAL_PARAMETER + "}"));
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/AbstractSecurityProviderTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/AbstractSecurityProviderTest.java
index 6efd8b7..baf4594 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/AbstractSecurityProviderTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/AbstractSecurityProviderTest.java
@@ -50,7 +50,7 @@ public abstract class AbstractSecurityProviderTest extends BaseUndertowTest {
         private MockSecurityConfiguration configuration;
 
         @Override
-        public void addHeader(BiConsumer<String, Object> consumer, HttpServerExchange httpExchange) throws Exception {
+        public void addHeader(BiConsumer<String, Object> consumer, HttpServerExchange httpExchange) {
             String principal = httpExchange.getAttachment(PRINCIPAL_KEY);
             if (principal != null) {
                 consumer.accept(PRINCIPAL_PARAMETER, principal);
@@ -58,7 +58,7 @@ public abstract class AbstractSecurityProviderTest extends BaseUndertowTest {
         }
 
         @Override
-        public int authenticate(HttpServerExchange httpExchange, List<String> allowedRoles) throws Exception {
+        public int authenticate(HttpServerExchange httpExchange, List<String> allowedRoles) {
             if (configuration.getRoleToAssign() != null && allowedRoles != null
                     && allowedRoles.contains(configuration.getRoleToAssign())) {
                 httpExchange.putAttachment(PRINCIPAL_KEY, configuration.getRoleToAssign());
@@ -68,7 +68,7 @@ public abstract class AbstractSecurityProviderTest extends BaseUndertowTest {
         }
 
         @Override
-        public boolean acceptConfiguration(Object configuration, String endpointUri) throws Exception {
+        public boolean acceptConfiguration(Object configuration, String endpointUri) {
             if (configuration instanceof MockSecurityConfiguration) {
                 this.configuration = (MockSecurityConfiguration) configuration;
                 return this.configuration.isAccept();
@@ -77,7 +77,7 @@ public abstract class AbstractSecurityProviderTest extends BaseUndertowTest {
         }
 
         @Override
-        public HttpHandler wrapHttpHandler(HttpHandler httpHandler) throws Exception {
+        public HttpHandler wrapHttpHandler(HttpHandler httpHandler) {
             if (configuration.getWrapHttpHandler() != null) {
                 return configuration.getWrapHttpHandler().apply(httpHandler);
             }
@@ -142,10 +142,10 @@ public abstract class AbstractSecurityProviderTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/foo?allowedRoles=user")
                         .to("mock:input")
                         .transform(simple("${in.header." + PRINCIPAL_PARAMETER + "}"));
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderHttpHandlerTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderHttpHandlerTest.java
index f597ce4..ae96a6a 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderHttpHandlerTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderHttpHandlerTest.java
@@ -39,7 +39,7 @@ public class SecurityProviderHttpHandlerTest extends AbstractSecurityProviderTes
     }
 
     @Test
-    public void testNullHttpHandler() throws Exception {
+    public void testNullHttpHandler() {
         securityConfiguration.setRoleToAssign("user");
 
         try {
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderNoAcceptanceTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderNoAcceptanceTest.java
index fce03d8..c81eb15 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderNoAcceptanceTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderNoAcceptanceTest.java
@@ -40,7 +40,7 @@ public class SecurityProviderNoAcceptanceTest extends AbstractSecurityProviderTe
     }
 
     @Test
-    public void testSecuredNotAcceptingProvider() throws Exception {
+    public void testSecuredNotAcceptingProvider() {
         securityConfiguration.setRoleToAssign("user");
 
         getMockEndpoint("mock:input").expectedHeaderReceived(Exchange.HTTP_METHOD, "GET");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderRolesFromComponentTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderRolesFromComponentTest.java
index 90242ee..d10c363 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderRolesFromComponentTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderRolesFromComponentTest.java
@@ -56,7 +56,7 @@ public class SecurityProviderRolesFromComponentTest extends AbstractSecurityProv
     }
 
     @Test
-    public void testSecuredNotAllowed() throws Exception {
+    public void testSecuredNotAllowed() {
         securityConfiguration.setRoleToAssign("admin");
 
         getMockEndpoint("mock:input").expectedHeaderReceived(Exchange.HTTP_METHOD, "GET");
@@ -73,10 +73,10 @@ public class SecurityProviderRolesFromComponentTest extends AbstractSecurityProv
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("undertow:http://localhost:{{port}}/foo")
                         .to("mock:input")
                         .transform(simple("${in.header." + PRINCIPAL_PARAMETER + "}"));
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderTest.java
index ccc97c0..11b65cb 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderTest.java
@@ -45,7 +45,7 @@ public class SecurityProviderTest extends AbstractSecurityProviderTest {
     }
 
     @Test
-    public void testSecuredNotAllowed() throws Exception {
+    public void testSecuredNotAllowed() {
         securityConfiguration.setRoleToAssign("admin");
 
         getMockEndpoint("mock:input").expectedHeaderReceived(Exchange.HTTP_METHOD, "GET");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderWithoutProviderTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderWithoutProviderTest.java
index 50222e4..a986c81 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderWithoutProviderTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/spi/SecurityProviderWithoutProviderTest.java
@@ -36,7 +36,7 @@ import static org.junit.jupiter.api.Assertions.fail;
 public class SecurityProviderWithoutProviderTest extends AbstractSecurityProviderTest {
 
     @BeforeAll
-    public static void createSecurtyProviderConfigurationFile() throws Exception {
+    public static void createSecurtyProviderConfigurationFile() {
         URL location = MockSecurityProvider.class.getProtectionDomain().getCodeSource().getLocation();
         File file = new File(location.getPath() + "META-INF/services/" + UndertowSecurityProvider.class.getName());
         if (file.exists()) {
@@ -45,7 +45,7 @@ public class SecurityProviderWithoutProviderTest extends AbstractSecurityProvide
     }
 
     @Test
-    public void testSecuredNoProviderd() throws Exception {
+    public void testSecuredNoProviderd() {
         securityConfiguration.setRoleToAssign("user");
 
         getMockEndpoint("mock:input").expectedHeaderReceived(Exchange.HTTP_METHOD, "GET");
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/TestClient.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/TestClient.java
index a43f30a..6c35d83b 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/TestClient.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/TestClient.java
@@ -61,7 +61,7 @@ public class TestClient {
         this.url = url;
     }
 
-    public void connect() throws InterruptedException, ExecutionException, IOException {
+    public void connect() throws InterruptedException, ExecutionException {
         websocket = client.prepareGet(url).execute(
                 new WebSocketUpgradeHandler.Builder()
                         .addWebSocketListener(new TestWebSocketListener()).build())
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsConsumerRouteTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsConsumerRouteTest.java
index d4c6cf8..bdb3598 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsConsumerRouteTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsConsumerRouteTest.java
@@ -466,7 +466,7 @@ public class UndertowWsConsumerRouteTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 final int port = getPort();
@@ -492,7 +492,7 @@ public class UndertowWsConsumerRouteTest extends BaseUndertowTest {
                         .process(new Processor() {
                             private final Set<String> connectionKeys = new LinkedHashSet<>();
 
-                            public void process(final Exchange exchange) throws Exception {
+                            public void process(final Exchange exchange) {
                                 final Message in = exchange.getIn();
                                 final String connectionKey = in.getHeader(UndertowConstants.CONNECTION_KEY,
                                         String.class);
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteRestartTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteRestartTest.java
index 330c48a..20bed94 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteRestartTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteRestartTest.java
@@ -114,7 +114,7 @@ public class UndertowWsProducerRouteRestartTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("direct:shop") //
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteTest.java
index 78aee63..c7d89eb 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteTest.java
@@ -92,7 +92,7 @@ public class UndertowWsProducerRouteTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("direct:shop").log(">>> Message received from Shopping center : ${body}")
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesTest.java
index 248a99d..c4da625 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesTest.java
@@ -125,7 +125,7 @@ public class UndertowWsTwoRoutesTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointSendToAllHeaderTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointSendToAllHeaderTest.java
index 675ea3c..f3c8f5b 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointSendToAllHeaderTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointSendToAllHeaderTest.java
@@ -87,7 +87,7 @@ public class UndertowWsTwoRoutesToSameEndpointSendToAllHeaderTest extends BaseUn
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointTest.java
index 9ca86a6..ef91cf2 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointTest.java
@@ -86,7 +86,7 @@ public class UndertowWsTwoRoutesToSameEndpointTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
 
diff --git a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWssRouteTest.java b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWssRouteTest.java
index bceb665..6d0edbe 100644
--- a/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWssRouteTest.java
+++ b/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWssRouteTest.java
@@ -18,7 +18,6 @@ package org.apache.camel.component.undertow.ws;
 
 import java.io.IOException;
 import java.net.URL;
-import java.security.GeneralSecurityException;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.concurrent.CountDownLatch;
@@ -65,7 +64,7 @@ public class UndertowWssRouteTest extends BaseUndertowTest {
     }
 
     @AfterAll
-    public static void tearDownJaas() throws Exception {
+    public static void tearDownJaas() {
         System.clearProperty("java.security.auth.login.config");
     }
 
@@ -97,7 +96,7 @@ public class UndertowWssRouteTest extends BaseUndertowTest {
         return context;
     }
 
-    protected AsyncHttpClient createAsyncHttpSSLClient() throws IOException, GeneralSecurityException {
+    protected AsyncHttpClient createAsyncHttpSSLClient() throws IOException {
 
         AsyncHttpClient c;
         AsyncHttpClientConfig config;
@@ -165,7 +164,7 @@ public class UndertowWssRouteTest extends BaseUndertowTest {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
                 from("undertow:ws://localhost:" + getPort() + "/test")