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 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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.




 
Consider Paul's rocket mass heater.
 
subject: JMS
 
Similar Threads
Questions about JMS exception handling
Webservices Client Retry Mechanism
Doubt on Enthuware mock regarding MDBs
Memory leak?
Stateless session bean in onMessage() of MDB