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 d60678f8219e7a31225019930dfc724db359dadc Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Thu Mar 10 15:52:18 2022 +0100 CAMEL-17763: cleaned up unused exceptions in camel-pulsar --- .../camel/component/pulsar/integration/PulsarConsumerPatternInIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/integration/PulsarConsumerPatternInIT.java b/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/integration/PulsarConsumerPatternInIT.java index 5c77617..2dc0d77 100644 --- a/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/integration/PulsarConsumerPatternInIT.java +++ b/components/camel-pulsar/src/test/java/org/apache/camel/component/pulsar/integration/PulsarConsumerPatternInIT.java @@ -100,7 +100,7 @@ public class PulsarConsumerPatternInIT extends PulsarITSupport { // and for that we add them first as routes, which we then later stop context.addRoutes(new RouteBuilder() { @Override - public void configure() throws Exception { + public void configure() { from(fromOne).routeId("one").to("mock:one"); from(fromTwo).routeId("two").to("mock:two"); } @@ -128,7 +128,7 @@ public class PulsarConsumerPatternInIT extends PulsarITSupport { context.addRoutes(new RouteBuilder() { @Override - public void configure() throws Exception { + public void configure() { from(from).to(to).process(e -> LOGGER.info("Processing message {}", e.getIn().getBody(String.class))); } });
