You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2010/08/13 15:58:51 UTC
[jira] Resolved: (AMQ-2867) a bug when send time out
[ https://issues.apache.org/activemq/browse/AMQ-2867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Tully resolved AMQ-2867.
-----------------------------
Fix Version/s: 5.4.1
Resolution: Fixed
resolved in r985201
also related to https://issues.apache.org/activemq/browse/AMQ-2507
> a bug when send time out
> ------------------------
>
> Key: AMQ-2867
> URL: https://issues.apache.org/activemq/browse/AMQ-2867
> Project: ActiveMQ
> Issue Type: Bug
> Components: Connector
> Affects Versions: 5.3.0
> Environment: linux/ java
> Reporter: dacy.zhouy
> Assignee: Gary Tully
> Priority: Critical
> Fix For: 5.4.1
>
>
>
> There is a bug at ActiveMQConnection.java. The response is null when time out,but the code not handled
> 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);
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.