I'm very new to
Tomcat and JMS, but I would like to do the following:
1. Send POST to
servlet from a web form (I have this working)
2. Have the servlet send a message to a JMS queue (PTP) (I want ActiveMQ running within Tomcat here)
3. Have a separate
Java process listen to the queue and consume the message (PTP)
Pretty simple yes? I'm having a lot of trouble because there is a seemingly infinite amount of configuration to do with Tomcat, ActiveMQ, JNDI, etc etc. I can't swallow the tutorials out there on the web, because most of them are not for my particular situation (some use Spring, some use Topics not PTP queues, some aren't using ActiveMQ, yada yada). Not to mention the JMS/JNDI API's are scary for a total newbie.
Can anyone point me in the right direction? I can't seem to find a straightforward tutorial for PTP JMS on Tomcat/ActiveMQ for absolute beginners.