This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
The following commit(s) were added to refs/heads/main by this push:
new 8b8814384 Adding spring-tx feature in the camel-jms feature. This
fixes #645. (#649)
8b8814384 is described below
commit 8b8814384aca962324d96542f2efbdaa468fbe3c
Author: JB Onofré <[email protected]>
AuthorDate: Tue Oct 21 09:45:57 2025 +0200
Adding spring-tx feature in the camel-jms feature. This fixes #645. (#649)
---
features/src/main/feature/camel-features.xml | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/features/src/main/feature/camel-features.xml
b/features/src/main/feature/camel-features.xml
index f4174e827..ce2e9d1aa 100644
--- a/features/src/main/feature/camel-features.xml
+++ b/features/src/main/feature/camel-features.xml
@@ -1803,15 +1803,8 @@
</feature>
<feature name="camel-jms" version="${project.version}" start-level="50">
<feature version='${camel-osgi-version-range}'>camel-core</feature>
+ <feature version='${camel-osgi-spring-version}'>spring-tx</feature>
<feature version="${camel-osgi-spring-version}">spring-jms</feature>
- <!-- The SMX bundle of Spring JMS doesn't contain micrometer as part
of its import packages, see https://issues.apache.org/jira/browse/SM-5706,
- so we need to override the imports by wrapping the bundle until it
is fixed in the SMX bundle project and in Karaf.
- The Bundle-Version is updated by
Bundle-Version=${spring-version}.2 so that the updated bundle is used
- instead of the one provided by Karaf.
- -->
- <!-- Workaround START -->
- <bundle
start-level="30">wrap:mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-jms/${servicemix-spring-jms-version}_1$overwrite=merge&Import-package=io.micrometer;resolution:=optional,*;resolution:=optional&Bundle-Version=${servicemix-spring-jms-version}.2</bundle>
- <!-- Workaround END -->
<bundle
dependency='true'>mvn:io.micrometer/micrometer-observation/${micrometer-version}</bundle>
<bundle
dependency='true'>mvn:io.micrometer/micrometer-commons/${micrometer-version}</bundle>
<bundle>mvn:org.apache.camel.karaf/camel-jms/${project.version}</bundle>