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

jamesnetherton 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 7d603f9  Fix #1895 to remove registerNarayanaReflectiveClass
7d603f9 is described below

commit 7d603f9716683eab222bf0314e7e420a9c9e2b08
Author: Amos Feng <zf...@redhat.com>
AuthorDate: Mon Jan 25 11:18:38 2021 +0800

    Fix #1895 to remove registerNarayanaReflectiveClass
---
 .../camel/quarkus/component/jta/deployment/JtaProcessor.java       | 7 -------
 1 file changed, 7 deletions(-)

diff --git 
a/extensions/jta/deployment/src/main/java/org/apache/camel/quarkus/component/jta/deployment/JtaProcessor.java
 
b/extensions/jta/deployment/src/main/java/org/apache/camel/quarkus/component/jta/deployment/JtaProcessor.java
index 2a6f389..5f674c7 100644
--- 
a/extensions/jta/deployment/src/main/java/org/apache/camel/quarkus/component/jta/deployment/JtaProcessor.java
+++ 
b/extensions/jta/deployment/src/main/java/org/apache/camel/quarkus/component/jta/deployment/JtaProcessor.java
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.quarkus.component.jta.deployment;
 
-import com.arjuna.ats.internal.arjuna.utils.SocketProcessId;
 import io.quarkus.arc.deployment.AdditionalBeanBuildItem;
 import io.quarkus.deployment.Capabilities;
 import io.quarkus.deployment.Capability;
@@ -60,10 +59,4 @@ class JtaProcessor {
                     IllegalStateException.class.getName()));
         }
     }
-
-    @BuildStep //TODO workaround for 
https://github.com/apache/camel-quarkus/issues/1895
-    void 
registerNarayanaReflectiveClass(BuildProducer<ReflectiveClassBuildItem> 
reflectiveClass) {
-        reflectiveClass.produce(
-                new ReflectiveClassBuildItem(false, false, 
SocketProcessId.class.getName()));
-    }
 }

Reply via email to