Remove redundant ServiceProviderBuildItem from WebSocketJSR356Processor
@@ -18,16 +18,12 @@ package org.apache.camel.quarkus.component.websocket.jsr356.deployment;
import java.util.List;
-import javax.websocket.server.ServerEndpointConfig;
-
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.annotations.ExecutionTime;
import io.quarkus.deployment.annotations.Record;
import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.ServiceProviderBuildItem;
import io.quarkus.undertow.deployment.ServletContextAttributeBuildItem;
import io.quarkus.undertow.deployment.ServletDeploymentManagerBuildItem;
-import io.undertow.websockets.jsr.DefaultContainerConfigurator;
import io.undertow.websockets.jsr.WebSocketDeploymentInfo;
import org.apache.camel.quarkus.component.websocket.jsr356.CamelWebSocketJSR356Config;
import org.apache.camel.quarkus.component.websocket.jsr356.CamelWebSocketJSR356Recorder;
@@ -45,13 +41,6 @@ class WebSocketJSR356Processor {
return new FeatureBuildItem(FEATURE);
}
- @BuildStep
- ServiceProviderBuildItem registerConfiguratorServiceProvider() {
- // TODO: Remove this. See https://github.com/quarkusio/quarkus/issues/7509
- return new ServiceProviderBuildItem(ServerEndpointConfig.Configurator.class.getName(),
- DefaultContainerConfigurator.class.getName());
- }
-
@BuildStep
CamelServiceFilterBuildItem serviceFilter() {
return new CamelServiceFilterBuildItem(CamelServiceFilter.forComponent("websocket-jsr356"));
