This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new a7495b310d7d CAMEL-25271: redirect IBM MQ JMS client log into target/
directory
a7495b310d7d is described below
commit a7495b310d7dd2fc653cc1402fcc56613130492a
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Oct 9 09:59:22 2026 +0200
CAMEL-25271: redirect IBM MQ JMS client log into target/ directory
The IBM MQ JMS client uses its own PropertyStore (not JUL) and writes
mqjms.log.0 to the JVM working directory by default, which is the module
root during test execution.
Pass -Dcom.ibm.msg.client.commonservices.log.outputName=target/mqjms.log
as a JVM system property for both surefire and failsafe forks so the
rotating log ends up under target/ and is not committed to the source
tree.
Co-authored-by: IBM 2.2.1
Signed-off-by: Aurélien Pupier <[email protected]>
---
components/camel-jms/pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-jms/pom.xml b/components/camel-jms/pom.xml
index af0873fbdea9..5dfc227ddf0d 100644
--- a/components/camel-jms/pom.xml
+++ b/components/camel-jms/pom.xml
@@ -39,11 +39,11 @@
<camel.surefire.parallel>true</camel.surefire.parallel>
<camel.surefire.parallel.factor>0.5</camel.surefire.parallel.factor>
<!-- Make use of native access during test execution only -->
-
<camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED
-XX:+ExitOnOutOfMemoryError -Xmx2G</camel.surefire.fork.additional-vmargs>
+
<camel.surefire.fork.additional-vmargs>--enable-native-access=ALL-UNNAMED
-XX:+ExitOnOutOfMemoryError -Xmx2G
-Dcom.ibm.msg.client.commonservices.log.outputName=target/mqjms.log</camel.surefire.fork.additional-vmargs>
<camel.failsafe.parallel>true</camel.failsafe.parallel>
<camel.failsafe.parallel.factor>0.5</camel.failsafe.parallel.factor>
- <camel.failsafe.fork.additional-vmargs>-XX:+ExitOnOutOfMemoryError
-Xmx3G</camel.failsafe.fork.additional-vmargs>
+ <camel.failsafe.fork.additional-vmargs>-XX:+ExitOnOutOfMemoryError
-Xmx3G
-Dcom.ibm.msg.client.commonservices.log.outputName=target/mqjms.log</camel.failsafe.fork.additional-vmargs>
</properties>
<dependencies>