You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2023/08/31 07:25:36 UTC

[camel-quarkus] 08/14: Fixed nats - needs more investigation

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

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

commit f600c2f0860a965c08ff53a840f42579743ac5ce
Author: JiriOndrusek <on...@gmail.com>
AuthorDate: Tue Aug 29 15:56:17 2023 +0200

    Fixed nats - needs more investigation
---
 integration-tests/nats/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/integration-tests/nats/pom.xml b/integration-tests/nats/pom.xml
index 2455ac875a..f48c86a284 100644
--- a/integration-tests/nats/pom.xml
+++ b/integration-tests/nats/pom.xml
@@ -30,6 +30,15 @@
     <name>Camel Quarkus :: Integration Tests :: Nats</name>
     <description>Integration tests for Camel Quarkus Nats extension</description>
 
+    <properties>
+        <!-- his is required for the native execution (probably also for JVM).
+            EdDSAEngine requires sun.security.x509.X509Ke, which is no longer part if the java (since J16)
+             (Similar approach was used in kudu extension) -->
+        <opens>java.base/sun.security.x509=ALL-UNNAMED</opens>
+        <argLine>--add-opens ${opens}</argLine>
+        <quarkus.native.additional-build-args>-J--add-opens=${opens}</quarkus.native.additional-build-args>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>