Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS

 
Lalita Roy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

I have a JMS which calls webservices inside the onMessage. When I run program it works fine but over the time it gives out of memory issue. I suspect some kind of memory leak.

Question 1)If the webservices are not available and if it throws error connecting to webservice will it lead into memory leak. I read on net that if any call within onMessage throws exceptions it leads to memory leak. How can that be possible?
question 2) best approach to call webservice within onMessage.

Any help on this will be appreciated. New to JMS working on college project.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic