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 2023/06/20 08:47:16 UTC
[camel] 05/06: CAMEL-19429: fixed checkstyle
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 49f7629c55627b96682592d0feb5b39e4b65e0b3
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jun 19 13:44:56 2023 +0200
CAMEL-19429: fixed checkstyle
---
catalog/camel-allcomponents/pom.xml | 5 +++++
components/camel-activemq/src/main/docs/activemq-component.adoc | 3 ++-
.../java/org/apache/camel/component/activemq/ActiveMQComponent.java | 2 +-
.../org/apache/camel/component/activemq/ActiveMQConfiguration.java | 2 +-
.../java/org/apache/camel/component/activemq/ActiveMQEndpoint.java | 6 +++---
.../org/apache/camel/component/activemq/ActiveMQQueueEndpoint.java | 2 +-
.../apache/camel/component/activemq/ActiveMQSendDynamicAware.java | 2 +-
.../camel/component/activemq/ActiveMQTemporaryQueueEndpoint.java | 2 +-
.../camel/component/activemq/ActiveMQTemporaryTopicEndpoint.java | 2 +-
.../camel/component/activemq/converter/ActiveMQConverter.java | 2 +-
.../component/activemq/converter/ActiveMQMessageConverter.java | 2 +-
.../java/org/apache/camel/component/activemq/ActiveMQITSupport.java | 1 -
parent/pom.xml | 6 ++++++
13 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/catalog/camel-allcomponents/pom.xml b/catalog/camel-allcomponents/pom.xml
index d61a7171b51..7d1aabf1a4e 100644
--- a/catalog/camel-allcomponents/pom.xml
+++ b/catalog/camel-allcomponents/pom.xml
@@ -33,6 +33,11 @@
<description>Depends on all components to ensure correct build ordering</description>
<dependencies>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-activemq</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-amqp</artifactId>
diff --git a/components/camel-activemq/src/main/docs/activemq-component.adoc b/components/camel-activemq/src/main/docs/activemq-component.adoc
index fbf591dbc65..59c379801ae 100644
--- a/components/camel-activemq/src/main/docs/activemq-component.adoc
+++ b/components/camel-activemq/src/main/docs/activemq-component.adoc
@@ -5,6 +5,7 @@
:description: Send messages to (or consume from) Apache ActiveMQ. This component extends the Camel JMS component.
:since: 1.0
:supportlevel: Stable
+:tabs-sync-option:
:component-header: Both producer and consumer are supported
//Manually maintained attributes
:camel-spring-boot-name: activemq
@@ -86,4 +87,4 @@ from("activemq:queue:HELLO.WORLD")
-include::spring-boot:partial$starter.adoc[]
\ No newline at end of file
+include::spring-boot:partial$starter.adoc[]
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQComponent.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQComponent.java
index 996b20a8886..322ae1d6317 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQComponent.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQComponent.java
@@ -280,4 +280,4 @@ public class ActiveMQComponent extends JmsComponent {
QueueBrowseStrategy queueBrowseStrategy) {
return new ActiveMQQueueEndpoint(uri, component, subject, configuration, queueBrowseStrategy);
}
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQConfiguration.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQConfiguration.java
index 8d7cd2213bf..a464efae91d 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQConfiguration.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQConfiguration.java
@@ -217,4 +217,4 @@ public class ActiveMQConfiguration extends JmsConfiguration {
return loader.loadClass(name);
}
}
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQEndpoint.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQEndpoint.java
index bf57ea9c4e2..1ba72b7fd65 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQEndpoint.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQEndpoint.java
@@ -30,8 +30,8 @@ import org.apache.camel.spi.UriParam;
* Send messages to (or consume from) Apache ActiveMQ. This component extends the Camel JMS component.
*/
@UriEndpoint(firstVersion = "1.0.0", extendsScheme = "jms", scheme = "activemq", title = "ActiveMQ",
- syntax = "activemq:destinationType:destinationName",
- category = { Category.MESSAGING })
+ syntax = "activemq:destinationType:destinationName",
+ category = { Category.MESSAGING })
public class ActiveMQEndpoint extends JmsEndpoint {
@UriParam(multiValue = true, prefix = "destination.", label = "consumer,advanced")
@@ -70,4 +70,4 @@ public class ActiveMQEndpoint extends JmsEndpoint {
public void setDestinationOptions(Map<String, String> destinationOptions) {
this.destinationOptions = destinationOptions;
}
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQQueueEndpoint.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQQueueEndpoint.java
index a40f7d6457b..e2dea54ad70 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQQueueEndpoint.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQQueueEndpoint.java
@@ -98,4 +98,4 @@ public class ActiveMQQueueEndpoint extends ActiveMQEndpoint implements JmsBrowsa
return new DefaultQueueBrowseStrategy();
}
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQSendDynamicAware.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQSendDynamicAware.java
index 418e6468c41..cac94126325 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQSendDynamicAware.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQSendDynamicAware.java
@@ -22,4 +22,4 @@ import org.apache.camel.spi.annotations.SendDynamic;
@SendDynamic("activemq")
public class ActiveMQSendDynamicAware extends JmsSendDynamicAware {
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQTemporaryQueueEndpoint.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQTemporaryQueueEndpoint.java
index c8862ceb82b..84839dfc4cc 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQTemporaryQueueEndpoint.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQTemporaryQueueEndpoint.java
@@ -36,4 +36,4 @@ public class ActiveMQTemporaryQueueEndpoint extends JmsTemporaryQueueEndpoint {
public ActiveMQTemporaryQueueEndpoint(String endpointUri, String destination) {
super(endpointUri, destination);
}
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQTemporaryTopicEndpoint.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQTemporaryTopicEndpoint.java
index 0f6bfd1fa7b..353421840d7 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQTemporaryTopicEndpoint.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/ActiveMQTemporaryTopicEndpoint.java
@@ -30,4 +30,4 @@ public class ActiveMQTemporaryTopicEndpoint extends JmsTemporaryTopicEndpoint {
public ActiveMQTemporaryTopicEndpoint(String endpointUri, String destination) {
super(endpointUri, destination);
}
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/converter/ActiveMQConverter.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/converter/ActiveMQConverter.java
index a2b5bf87e42..49630a80038 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/converter/ActiveMQConverter.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/converter/ActiveMQConverter.java
@@ -35,4 +35,4 @@ public class ActiveMQConverter {
return ActiveMQDestination.createDestination(name, ActiveMQDestination.QUEUE_TYPE);
}
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/converter/ActiveMQMessageConverter.java b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/converter/ActiveMQMessageConverter.java
index 3795d950758..935258edd98 100644
--- a/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/converter/ActiveMQMessageConverter.java
+++ b/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/converter/ActiveMQMessageConverter.java
@@ -94,4 +94,4 @@ public class ActiveMQMessageConverter {
public void setBinding(JmsBinding binding) {
this.binding = binding;
}
-}
\ No newline at end of file
+}
diff --git a/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/ActiveMQITSupport.java b/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/ActiveMQITSupport.java
index d0e1f8b2254..918051ab20f 100644
--- a/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/ActiveMQITSupport.java
+++ b/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/ActiveMQITSupport.java
@@ -40,7 +40,6 @@ public abstract class ActiveMQITSupport implements ConfigurableContext, Configur
@RegisterExtension
protected static CamelContextExtension contextExtension = new DefaultCamelContextExtension();
-
public static MessagingLocalContainerService<ArtemisContainer> createLocalService() {
ArtemisContainer container = new ArtemisContainer();
diff --git a/parent/pom.xml b/parent/pom.xml
index 6a2a9b566d6..5f6dbad0f48 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -667,6 +667,12 @@
<!-- NOTE: auto-generated list of components when building camel catalog -->
<!-- camel components: START -->
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-activemq</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-amqp</artifactId>