This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS " Watch "JMS " New topic
Author

JMS

Lalita Roy
Greenhorn

Joined: Mar 23, 2013
Posts: 1
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.




 
jQuery in Action, 3rd edition
 
subject: JMS
 
It's not a secret anymore!