Hello. I'm trying to install JMS and ActiveMQ features, considering an external ActiveMQ 5.16.5 server.
I've tried installing first features : feature:install jms feature:install pax-jms-activemq But the second command leads to an exception in the bundle activemq-osgi for which Spring seems to be missing : java.lang.ClassNotFoundException: org.springframework.beans.factory.config.BeanFactoryPostProcessor not found by org.apache.activemq.activemq-osgi [73] And indeed the bundle 73 is failing : 73 | Failure | 80 | 5.16.1 | activemq-osgi I've installed Spring with : feature:install spring and after restarting the failing bundle, it seems ok : 73 | Active | 80 | 5.16.1 | activemq-osgi To be sure of my Karaf state, I've fully reinstalled it, and play the spring install before the pax-jms-activemq, and all seems fine. QUESTION : Is this missing feature a bug ? Then I tried to create the connection factory, connecting to my external ActiveMQ server : jms:create -t activemq -u application -p secret --url tcp://localhost:61616 my_amq And checked the creation : jms:connectionfactories JMS Connection Factory ---------------------- jms/my_amq And I also see created connections on the ActiveMQ server side. I've also tried to send messages : jms:send jms/my_amq test-queue-1 "TEST001" And look at them : jms:browse jms/my_amq test-queue-1 Message ID | Content | Charset | Type | Correlation ID | Delivery Mode | Destination | Expiration | Priority | Redelivered | ReplyTo | Timestamp ---------------------------------------------+---------+---------+------+----------------+---------------+----------------------+------------+----------+-------------+---------+------------------------------ ID:ITEM-S96181-64974-1660634559117-1:1:1:1:1 | TEST001 | UTF-8 | | | Persistent | queue://test-queue-1 | Never | 4 | false | | Tue Aug 16 09:22:39 CEST 2022 All seems to work... But after some unknown time, or stopping-starting my Karaf, no jms command works any more. The jms connection factory doesn't appear... QUESTION : What am I missing in my installation procedure ? Thanks in advance for your help. Regards.