Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS Consumer ends even after implementing MessageListener interface.  RSS feed

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!