tree: 2f29e9d94c39d28c908a9d48a97f9ff47243c30a [path history] [tgz]
  1. src/
  2. pom.xml
  3. readme.md
examples/features/sub-modules/tomcat/readme.md

Apache Artemis Tomcat Integration JNDI Resources Sample

This is a Sample Tomcat application showing JNDI resource in tomcat context.xml for ConnectionFactory and Destination for Apache Artemis.

The sample context.xml used by the tomcat in this example can be found under: /src/tomcat7-maven-plugin/resources/context.xml

To run

start Apache Artemis on port 61616

then

mvn clean install tomcat7:exec-war

then to send message

http://localhost:8080/tomcat-sample/send

this will cause a “hello world” message to send, and the consumer should consume and output it to sysout.