File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes JMS Consumer ends even after implementing MessageListener interface. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Consumer ends even after implementing MessageListener interface." Watch "JMS Consumer ends even after implementing MessageListener interface." New topic
Author

JMS Consumer ends even after implementing MessageListener interface.

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
Hi,

I have written below consumer which implements MessageListener interface. when i run this program as java application my program ends without throwing any exception. The program should be continuously running right ? as i have implemented MessageListener interface so that whenever message comes in onMessage(Message message) method will get called.



Jigar Naik


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS Consumer ends even after implementing MessageListener interface.
 
Similar Threads
MDB onMessage not invoked
My AsynchronousConsumer Won't Listen!
JMS question
JMS Consumer not receiving any messages.
JMS on JBOSS- Asynchronous Queue Receiver