You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/05/15 09:03:50 UTC
[camel] 05/11: CAMEL-13514: Service API should not use checked
exceptions in start/stop methods.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch 13514
in repository https://gitbox.apache.org/repos/asf/camel.git
commit fb35c828c71cb4b71ed8a56cec820c8c17bd9f37
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue May 14 12:00:29 2019 +0200
CAMEL-13514: Service API should not use checked exceptions in start/stop methods.
---
components/readme.adoc | 2 +-
.../springboot/test/support/ReactiveStreamsServiceTestSupport.java | 4 ++--
.../org/apache/camel/itest/idempotent/JdbcIdempotentRepository.java | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/components/readme.adoc b/components/readme.adoc
index 927e597..b24e55f 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -463,7 +463,7 @@ Number of Components: 295 in 232 JAR artifacts (0 deprecated)
| link:camel-jing/src/main/docs/jing-component.adoc[Jing] (camel-jing) +
`jing:resourceUri` | 1.1 | Validates the payload of a message using RelaxNG Syntax using Jing library.
-| link:camel-jms/src/main/docs/jms-component.adoc[JMS] (camel-jms) +
+| link:@@@ARTIFACTID@@@/src/main/docs/jms-component.adoc[JMS] (@@@ARTIFACTID@@@) +
`jms:destinationType:destinationName` | 1.0 | The jms component allows messages to be sent to (or consumed from) a JMS Queue or Topic.
| link:camel-jmx/src/main/docs/jmx-component.adoc[JMX] (camel-jmx) +
diff --git a/platforms/spring-boot/components-starter/camel-reactive-streams-starter/src/test/java/org/apache/camel/component/reactive/streams/springboot/test/support/ReactiveStreamsServiceTestSupport.java b/platforms/spring-boot/components-starter/camel-reactive-streams-starter/src/test/java/org/apache/camel/component/reactive/streams/springboot/test/support/ReactiveStreamsServiceTestSupport.java
index 41133aa..7341c08 100644
--- a/platforms/spring-boot/components-starter/camel-reactive-streams-starter/src/test/java/org/apache/camel/component/reactive/streams/springboot/test/support/ReactiveStreamsServiceTestSupport.java
+++ b/platforms/spring-boot/components-starter/camel-reactive-streams-starter/src/test/java/org/apache/camel/component/reactive/streams/springboot/test/support/ReactiveStreamsServiceTestSupport.java
@@ -150,12 +150,12 @@ public class ReactiveStreamsServiceTestSupport implements CamelReactiveStreamsSe
}
@Override
- public void start() throws Exception {
+ public void start() {
}
@Override
- public void stop() throws Exception {
+ public void stop() {
}
diff --git a/tests/camel-itest/src/test/java/org/apache/camel/itest/idempotent/JdbcIdempotentRepository.java b/tests/camel-itest/src/test/java/org/apache/camel/itest/idempotent/JdbcIdempotentRepository.java
index 17d3727..02e7535 100644
--- a/tests/camel-itest/src/test/java/org/apache/camel/itest/idempotent/JdbcIdempotentRepository.java
+++ b/tests/camel-itest/src/test/java/org/apache/camel/itest/idempotent/JdbcIdempotentRepository.java
@@ -57,11 +57,11 @@ public class JdbcIdempotentRepository implements IdempotentRepository {
jdbc.update("DELETE * FROM ProcessedPayments");
}
- public void start() throws Exception {
+ public void start() {
// noop
}
- public void stop() throws Exception {
+ public void stop() {
// noop
}
}