This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 639e4ad65f93f6d178a43fac1fae8e8d277e4a50 Author: Peter Palaga <[email protected]> AuthorDate: Fri Jun 4 12:25:46 2021 +0200 Remove -H:+InlineBeforeAnalysis from Spring RabbitMQ test once Quarkus has InlineBeforeAnalysisBuildItem #2416 --- .../rabbitmq/deployment/SpringRabbitmqProcessor.java | 6 ++++++ .../src/main/resources/application.properties | 17 ----------------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/extensions/spring-rabbitmq/deployment/src/main/java/org/apache/camel/quarkus/component/spring/rabbitmq/deployment/SpringRabbitmqProcessor.java b/extensions/spring-rabbitmq/deployment/src/main/java/org/apache/camel/quarkus/component/spring/rabbitmq/deployment/SpringRabbitmqProcessor.java index 9f9fb06..a292555 100644 --- a/extensions/spring-rabbitmq/deployment/src/main/java/org/apache/camel/quarkus/component/spring/rabbitmq/deployment/SpringRabbitmqProcessor.java +++ b/extensions/spring-rabbitmq/deployment/src/main/java/org/apache/camel/quarkus/component/spring/rabbitmq/deployment/SpringRabbitmqProcessor.java @@ -19,6 +19,7 @@ package org.apache.camel.quarkus.component.spring.rabbitmq.deployment; import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.builditem.FeatureBuildItem; +import io.quarkus.deployment.builditem.nativeimage.InlineBeforeAnalysisBuildItem; import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem; import org.springframework.amqp.rabbit.connection.ChannelProxy; import org.springframework.aop.SpringProxy; @@ -43,4 +44,9 @@ class SpringRabbitmqProcessor { DecoratingProxy.class.getCanonicalName())); } + @BuildStep + InlineBeforeAnalysisBuildItem inlineBeforeAnalysis() { + return new InlineBeforeAnalysisBuildItem(); + } + } diff --git a/integration-tests/spring-rabbitmq/src/main/resources/application.properties b/integration-tests/spring-rabbitmq/src/main/resources/application.properties deleted file mode 100644 index 03b5ac2..0000000 --- a/integration-tests/spring-rabbitmq/src/main/resources/application.properties +++ /dev/null @@ -1,17 +0,0 @@ -## --------------------------------------------------------------------------- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --------------------------------------------------------------------------- -quarkus.native.additional-build-args=-H:+InlineBeforeAnalysis \ No newline at end of file
