The following is a very simple JMS application with multiple, concurrent, consumers and producers.
Sorce: http://activemq.apache.org/hello-world.html