Re: Building Apache Camel

2022-09-20 Thread Claus Ibsen
Hi That website info is a bit outdated as today these settings are automatic set in the .mvn sub folder of the source code, eg see the file .mvn/jvm.confiig .mvn/jvm.config -Xmx3584m -Djava.awt.headless=true -XX:+UseG1GC -XX:+UseStringDeduplication So you dont need to tweak just use mvn clean in

RE: Encrypt header value. - TypeConverter

2022-09-20 Thread Wilken Marci J
I looked at Jasypt initially I didn't really understand how I would use it. This is what I came up with. https://access.redhat.com/documentation/en-us/red_hat_jboss_fuse/6.2/html/apache_camel_development_guide/typeconv-impl I created a class EncryptedString, When it gets instantiated it encrypt

Re: Building Apache Camel

2022-09-20 Thread Maarten Donderwinkel
The MaxPermSize option has been deleted as of Java 17 (in Java 16 this is marked as obsolete). You should either remove it or change it to MaxMetaspaceSize. According to the Java Docs: -XX:MaxPermSize=size Sets the maximum permanent generation space size (in bytes). This option was deprecated in

Re: Building Apache Camel

2022-09-20 Thread ski n
You can either build with OpenJDK 11 with the option or build it with OpenJDK 17 without the option. The option: -XX:MaxPermSize=size Was already deprecated for a while and has been removed in Java 17. Raymond On Tue, Sep 20, 2022 at 10:27 AM FÖRSTERLING Björn < bjoern.foersterl...@cpb-softwa

Building Apache Camel

2022-09-20 Thread FÖRSTERLING Björn
Hello, I just tried building Apache Camel to get a jar. According to the documentation you have to execute these two lines: $ export MAVEN_OPTS="-Xms3000m -Xmx3000m -XX:MaxPermSize=512m" $ mvn clean source:jar install -Pfastinstall Unrecognized VM option 'MaxPermSize=512m' Error: Could not create