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

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/master by this push:
     new cbbd832  Cleanup Netty extension (#395)
cbbd832 is described below

commit cbbd832b00ae878b0b9dc1223cf20e30a1ca6de9
Author: Luca Burgazzoli <lburgazz...@users.noreply.github.com>
AuthorDate: Tue Nov 12 05:47:59 2019 +0100

    Cleanup Netty extension (#395)
    
    * chore: fix usage of deprecated 
io.quarkus.deployment.builditem.substrate.ReflectiveClassBuildItem
    
    * netty: review and cleanup the list of classes registered for reflection
---
 .../camel/quarkus/component/netty/deployment/NettyProcessor.java | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

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 fa4d950..f78a028 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
@@ -22,13 +22,10 @@ import java.util.List;
 import io.quarkus.deployment.annotations.BuildProducer;
 import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.substrate.ReflectiveClassBuildItem;
-
+import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import org.apache.camel.component.netty.NettyConfiguration;
 import org.apache.camel.component.netty.NettyEndpoint;
 import org.apache.camel.component.netty.NettyServerBootstrapConfiguration;
-import org.apache.camel.spi.UriParam;
-import org.apache.camel.spi.UriParams;
 
 class NettyProcessor {
 
@@ -37,9 +34,7 @@ class NettyProcessor {
     private static final List<Class<?>> NETTY_REFLECTIVE_CLASSES = 
Arrays.asList(
             NettyConfiguration.class,
             NettyServerBootstrapConfiguration.class,
-            NettyEndpoint.class,
-            UriParam.class,
-            UriParams.class);
+            NettyEndpoint.class);
 
     @BuildStep
     FeatureBuildItem feature() {

Reply via email to