]
Clebert Suconic updated JBMESSAGING-922:
----------------------------------------
JBoss Forum Reference:
JBossConnection::setExceptionListener needs to set ClassLoader
--------------------------------------------------------------
Key: JBMESSAGING-922
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-922
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.2.0.GA
Reporter: Clebert Suconic
Assigned To: Clebert Suconic
Fix For: 1.2.0.SP1
a fix would be:
public void setExceptionListener(ExceptionListener listener) throws JMSException
{
ThreadContextClassLoaderChanger tccc = new ThreadContextClassLoaderChanger();
try
{
tccc.set(getClass().getClassLoader());
delegate.setExceptionListener(listener);
}
finally
{
tccc.restore();
}
}
or having AOP considering our scoping condition and changing their classLoader rules.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: