javatomcatjakarta-eejndiactivemq-artemis

Connecting Tomcat to standalone Artemis Broker via JNDI


I want to define a jms ConnectionFactory as global resource in tomcat server.xml to connect my webapps to standalone Artemis server.

Unfortunately I couldn't find any official or clean manual for such a common use case that describes required libraries and configurations.

Can somebody show me an example?


Solution

  • I couldn't find any native Artemis based solution. Artemis server is ActiveMQ client compatible. So we can follow ActiveMQ manual for this purpose.