activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dacy <dacy.zh...@alibaba-inc.com>
Subject a bug in activemq-core
Date Wed, 04 Aug 2010 07:33:42 GMT

hi
 i had used activemq5.3.0 in a application, and it crashed a month ago
 we found there is a bug in activemq's source code. when send message time
out ,response return null not exception, but code not handle.
 it's terrible !!! please fix it as soon as possible~ 

at  ActiveMQConection.java
 
		private Response doSyncSendPacket(Command command, int timeout)
			throws JMSException {
		try {
		    Response response = (Response)this.transport.request(command,
timeout);
		    if (response != null && response.isException()) {
		        ExceptionResponse er = (ExceptionResponse)response;
		        if (er.getException() instanceof JMSException) {
		            throw (JMSException)er.getException();
		        } else {
		            throw JMSExceptionSupport.create(er.getException());
		        }
		    }
		    return response;
		} catch (IOException e) {
		    throw JMSExceptionSupport.create(e);
		}
	}
-- 
View this message in context: http://old.nabble.com/a-bug-in-activemq-core-tp29342865p29342865.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message