Sending messages via Tomcat to ActiveMQ
Hello, My question is: how can I send messages to ActiveMQ via Tomcat. Is it possible? How can I write it? Any clues? I want to send messages to added example in ActiveMQ. Best regards, MK -- View this message in context: http://old.nabble.com/Sending-messages-via-Tomcat-to-ActiveMQ-tp26421298p26421298.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Sending messages via Tomcat to ActiveMQ
2009/11/19 Kumako22 kumak...@gmail.com My question is: how can I send messages to ActiveMQ via Tomcat. Is it possible? How can I write it? Any clues? 1) Write a standalone Java program to send a message to ActiveMQ. Test it. Prove it works. 2) Paste that code into your web application code at the appropriate point. Tomcat does not provide facilities for sending messages to ActiveMQ, but it also does not prevent you from using your own code to do so. - Peter