From ce03dc339936833cb98ca3c5bdfe02b3e701a9b4 Mon Sep 17 00:00:00 2001 From: James Netherton Date: Wed, 3 Jul 2024 15:49:41 +0100 Subject: [PATCH] Fixup 8900c4c --- .../aws2/kinesis/deployment/Aws2KinesisProcessor.java | 6 ------ .../aws2-kinesis/src/main/resources/application.properties | 4 ---- 2 files changed, 10 deletions(-) diff --git a/extensions/aws2-kinesis/deployment/src/main/java/org/apache/camel/quarkus/component/aws2/kinesis/deployment/Aws2KinesisProcessor.java b/extensions/aws2-kinesis/deployment/src/main/java/org/apache/camel/quarkus/component/aws2/kinesis/deployment/Aws2KinesisProcessor.java index 1cadb5c61aa9..038270fb1982 100644 --- a/extensions/aws2-kinesis/deployment/src/main/java/org/apache/camel/quarkus/component/aws2/kinesis/deployment/Aws2KinesisProcessor.java +++ b/extensions/aws2-kinesis/deployment/src/main/java/org/apache/camel/quarkus/component/aws2/kinesis/deployment/Aws2KinesisProcessor.java @@ -21,7 +21,6 @@ import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.builditem.FeatureBuildItem; -import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem; import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem; import org.jboss.logging.Logger; @@ -42,9 +41,4 @@ void runtimeInitializedClasses(BuildProducer r .map(RuntimeInitializedClassBuildItem::new) .forEach(runtimeInitializedClass::produce); } - - @BuildStep - void build(BuildProducer reflectiveClass) { - reflectiveClass.produce(ReflectiveClassBuildItem.builder("javax.xml.bind.DatatypeConverter").build()); - } } diff --git a/integration-test-groups/aws2/aws2-kinesis/src/main/resources/application.properties b/integration-test-groups/aws2/aws2-kinesis/src/main/resources/application.properties index e3161d4f9ba8..056ab698484a 100644 --- a/integration-test-groups/aws2/aws2-kinesis/src/main/resources/application.properties +++ b/integration-test-groups/aws2/aws2-kinesis/src/main/resources/application.properties @@ -24,7 +24,3 @@ camel.component.aws2-kinesis-firehose.access-key=${AWS_ACCESS_KEY} camel.component.aws2-kinesis-firehose.secret-key=${AWS_SECRET_KEY} camel.component.aws2-kinesis-firehose.useDefaultCredentialsProvider=${AWS_USE_DEFAULT_CREDENTIALS_PROVIDER} camel.component.aws2-kinesis-firehose.region=${AWS_REGION:us-east-1} - - -#quarkus.native.additional-build-args=--trace-object-instantiation=java.util.Random, --trace-object-instantiation=software.amazon.awssdk.core.retry.backoff.FullJitterBackoffStrategy, --initialize-at-run-time=software.amazon.kinesis.lifecycle.ShutdownTask, --initialize-at-run-time=software.amazon.awssdk.services.dynamodb.DynamoDbRetryPolicy -quarkus.native.additional-build-args=--initialize-at-build-time=javax.xml.bind.DatatypeConverter