What library/dependency are you using for ActiveMQConnectionFactory? I ask
because we ship 2 different dependencies with this class -
artemis-jms-client & artemis-jakarta-client. The former is based on javax;
the latter is based on jakarta. It sounds to me like you're using the wrong
one for your use-case. See this documentation [1] for more details.


Justin

[1]
https://activemq.apache.org/components/artemis/documentation/latest/client-classpath.html#the-client-classpath

On Fri, Oct 31, 2025 at 2:50 AM Stefan Sämgård <[email protected]> wrote:

> Hello,
>
> We are using the artemis feature in apache karaf (OSGi)
> In the same apache karaf we are also using apache camel 4+
> Apache camel has fully moved to jakarta namespace we think.
>
> Which means that when we are setting up a jms client with apache camel jms
> library we need to use a jakarta.jms interface. Right now we are using the
> class:
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
>
> In OSGi compatible mode, this class returns a javax.jms interface rather
> than a jakarta.jms
> Are there any plans in the for upgrading the jakarta.jms from 2.0.3 to
> jakarta.jms 3+ dependencies?
>
> Best Regards,
> Stefan Sämgård
> CONFIDENTIALITY AND DISCLAIMER NOTICE | Industri-Matematik International AB
> This e-mail, including any attachments, is confidential and intended only
> for the addressee.
> If you are not the intended recipient, please notify us immediately and
> delete this e-mail from your system.
> Any use or disclosure of the information contained here in is strictly
> prohibited.
>

Reply via email to