diff --git a/extensions/sjms/runtime/pom.xml b/extensions/sjms/runtime/pom.xml
index 6b38c2546c21..07b3989ee54a 100644
--- a/extensions/sjms/runtime/pom.xml
+++ b/extensions/sjms/runtime/pom.xml
@@ -43,6 +43,10 @@
org.apache.camel
camel-sjms
+
+ jakarta.jms
+ jakarta.jms-api
+
diff --git a/extensions/sjms2/runtime/pom.xml b/extensions/sjms2/runtime/pom.xml
index f6161422f652..c4675bb029f7 100644
--- a/extensions/sjms2/runtime/pom.xml
+++ b/extensions/sjms2/runtime/pom.xml
@@ -42,6 +42,10 @@
org.apache.camel
camel-sjms2
+
+ jakarta.jms
+ jakarta.jms-api
+