The simplest example I could find was
http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch6.chapt.html
Which doesn't look at that simple to me. ;)
I have always found ActiveMQ simpler http://activemq.apache.org/hello-world.html Perhaps there should be simpler example for JBoss MQ.