Is it possible to send a message by calling Sender.java from my controllerservlet? All of the Jboss messaging stuff including connecting to activemq is all in my sender file.
Here is my code.
ControllerServlet: http://pastebin.com/BgTBLgAL
Sender.java: http://pastebin.com/YZgxGi1s
Perhaps the article Integration of JBoss AS 7 with ActiveMQ will assist you.