Is there any way to periodically cause the close and reopen of the JMS connection used for an MDB? I'm trying to work around a memory leak problem in an external queue implementation (oracle) and one of the work arounds is to close and restart the session.
There might be something in the JMX console to do this. Maybe you can control this through some MBean with the class "JMSContainerInvoker"?
The thing that comes to mind is to simply "touch" the .ear file, which will close/open the connection as it is undeployed/deployed.