This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 9fd3ca9a1172e371a031905707d0d42befb48a5a Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Thu Jan 13 10:24:00 2022 +0000 Update to latest Camel API changes --- docs/modules/ROOT/examples/components/atomix-map.yml | 2 +- docs/modules/ROOT/examples/components/atomix-messaging.yml | 2 +- docs/modules/ROOT/examples/components/atomix-multimap.yml | 2 +- docs/modules/ROOT/examples/components/atomix-queue.yml | 2 +- docs/modules/ROOT/examples/components/atomix-set.yml | 2 +- docs/modules/ROOT/examples/components/atomix-value.yml | 2 +- docs/modules/ROOT/pages/reference/extensions/atomix.adoc | 6 +++--- .../camel/quarkus/component/netty/deployment/NettyProcessor.java | 7 +++++++ .../quarkus/component/rabbitmq/deployment/RabbitmqProcessor.java | 9 ++++++--- 9 files changed, 22 insertions(+), 12 deletions(-) diff --git a/docs/modules/ROOT/examples/components/atomix-map.yml b/docs/modules/ROOT/examples/components/atomix-map.yml index 67564b2..8ef7609 100644 --- a/docs/modules/ROOT/examples/components/atomix-map.yml +++ b/docs/modules/ROOT/examples/components/atomix-map.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-atomix cqArtifactIdBase: atomix cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: atomix-map diff --git a/docs/modules/ROOT/examples/components/atomix-messaging.yml b/docs/modules/ROOT/examples/components/atomix-messaging.yml index 2107063..9df518c 100644 --- a/docs/modules/ROOT/examples/components/atomix-messaging.yml +++ b/docs/modules/ROOT/examples/components/atomix-messaging.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-atomix cqArtifactIdBase: atomix cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: atomix-messaging diff --git a/docs/modules/ROOT/examples/components/atomix-multimap.yml b/docs/modules/ROOT/examples/components/atomix-multimap.yml index 48d0bbf..96258f1 100644 --- a/docs/modules/ROOT/examples/components/atomix-multimap.yml +++ b/docs/modules/ROOT/examples/components/atomix-multimap.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-atomix cqArtifactIdBase: atomix cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: atomix-multimap diff --git a/docs/modules/ROOT/examples/components/atomix-queue.yml b/docs/modules/ROOT/examples/components/atomix-queue.yml index 63e8be7..73d9fd6 100644 --- a/docs/modules/ROOT/examples/components/atomix-queue.yml +++ b/docs/modules/ROOT/examples/components/atomix-queue.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-atomix cqArtifactIdBase: atomix cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: atomix-queue diff --git a/docs/modules/ROOT/examples/components/atomix-set.yml b/docs/modules/ROOT/examples/components/atomix-set.yml index 56c0533..6724793 100644 --- a/docs/modules/ROOT/examples/components/atomix-set.yml +++ b/docs/modules/ROOT/examples/components/atomix-set.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-atomix cqArtifactIdBase: atomix cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: atomix-set diff --git a/docs/modules/ROOT/examples/components/atomix-value.yml b/docs/modules/ROOT/examples/components/atomix-value.yml index 779b40e..f21d33e 100644 --- a/docs/modules/ROOT/examples/components/atomix-value.yml +++ b/docs/modules/ROOT/examples/components/atomix-value.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-atomix cqArtifactIdBase: atomix cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: atomix-value diff --git a/docs/modules/ROOT/pages/reference/extensions/atomix.adoc b/docs/modules/ROOT/pages/reference/extensions/atomix.adoc index 774cbe7..21c7e7a 100644 --- a/docs/modules/ROOT/pages/reference/extensions/atomix.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/atomix.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-atomix :cq-native-supported: false :cq-status: Preview -:cq-status-deprecation: Preview +:cq-status-deprecation: Preview Deprecated :cq-description: Access Atomix's distributed map. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: n/a [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Access Atomix's distributed map. diff --git a/extensions/netty/deployment/src/main/java/org/apache/camel/quarkus/component/netty/deployment/NettyProcessor.java b/extensions/netty/deployment/src/main/java/org/apache/camel/quarkus/component/netty/deployment/NettyProcessor.java index 0c6afba..2247b9a 100644 --- a/extensions/netty/deployment/src/main/java/org/apache/camel/quarkus/component/netty/deployment/NettyProcessor.java +++ b/extensions/netty/deployment/src/main/java/org/apache/camel/quarkus/component/netty/deployment/NettyProcessor.java @@ -18,7 +18,9 @@ package org.apache.camel.quarkus.component.netty.deployment; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.builditem.FeatureBuildItem; +import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem; import org.apache.camel.quarkus.core.deployment.spi.CamelSerializationBuildItem; +import org.apache.commons.pool2.impl.DefaultEvictionPolicy; class NettyProcessor { @@ -33,4 +35,9 @@ class NettyProcessor { CamelSerializationBuildItem serialization() { return new CamelSerializationBuildItem(); } + + @BuildStep + ReflectiveClassBuildItem registerForReflection() { + return new ReflectiveClassBuildItem(true, false, false, DefaultEvictionPolicy.class.getName()); + } } diff --git a/extensions/rabbitmq/deployment/src/main/java/org/apache/camel/quarkus/component/rabbitmq/deployment/RabbitmqProcessor.java b/extensions/rabbitmq/deployment/src/main/java/org/apache/camel/quarkus/component/rabbitmq/deployment/RabbitmqProcessor.java index aaab1dc..daadef7 100644 --- a/extensions/rabbitmq/deployment/src/main/java/org/apache/camel/quarkus/component/rabbitmq/deployment/RabbitmqProcessor.java +++ b/extensions/rabbitmq/deployment/src/main/java/org/apache/camel/quarkus/component/rabbitmq/deployment/RabbitmqProcessor.java @@ -18,11 +18,10 @@ package org.apache.camel.quarkus.component.rabbitmq.deployment; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.builditem.FeatureBuildItem; -import org.jboss.logging.Logger; +import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem; +import org.apache.commons.pool2.impl.DefaultEvictionPolicy; class RabbitmqProcessor { - private static final Logger LOG = Logger.getLogger(RabbitmqProcessor.class); - private static final String FEATURE = "camel-rabbitmq"; @BuildStep @@ -30,4 +29,8 @@ class RabbitmqProcessor { return new FeatureBuildItem(FEATURE); } + @BuildStep + ReflectiveClassBuildItem registerForReflection() { + return new ReflectiveClassBuildItem(true, false, false, DefaultEvictionPolicy.class.getName()); + } }