Hi, I am unable to start my JMS application. I have started my JMS server and my Tomcat too.(in Eclipse). Please help me in guiding the configurations required. Thanks, Kishore
posted 10 years ago
Well, I dont know exactly what are you trying to do, anyway I cant tell you that if you want a "Server" to process messages sent by a JMS client (sender) you must build a Message-Driven Bean with the "onMessage(Meesage m)" Method (implementing: javax.jms.MessageListener) where you write the code that process the message. You also need a Queue or a Topic so the clients know where to send the messages.
All fo this is EJB 3.0, you can find a lot of examples of Message-Driven Beans on the internet.