You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2006/12/14 12:05:21 UTC
[jira] Created: (QPID-186) AMQConnection does not set error code
when constructing a JMSException
AMQConnection does not set error code when constructing a JMSException
----------------------------------------------------------------------
Key: QPID-186
URL: http://issues.apache.org/jira/browse/QPID-186
Project: Qpid
Issue Type: Bug
Affects Versions: M1
Reporter: Marnie McCormack
Assigned To: Marnie McCormack
Priority: Minor
Fix For: M2
The code
log("ExceptionListener event: error " + exception.getErrorCode() + ", message: " + exception.getMessage());
gives
ExceptionListener event: error null, message: Exception thrown against AMQConnection:
Host: localhost
Port: 5672
Virtual Host: /myBroker
Client ID: blah
Active session count: 0: org.apache.qpid.client.AMQNoRouteException: Error: Routing key queueNODEF is not known to org.apache.qpid.server.exchange.DestNameExchange[amq.direct] [error code 312]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (QPID-186) AMQConnection does not set error code
when constructing a JMSException
Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/QPID-186?page=all ]
Marnie McCormack resolved QPID-186.
-----------------------------------
Resolution: Fixed
Added check for instanceof AMQException into construction of JMSException in receivedException method of AMQConnection to use of error code, if available. Svn revision 487176.
> AMQConnection does not set error code when constructing a JMSException
> ----------------------------------------------------------------------
>
> Key: QPID-186
> URL: http://issues.apache.org/jira/browse/QPID-186
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M1
> Reporter: Marnie McCormack
> Assigned To: Marnie McCormack
> Priority: Minor
> Fix For: M2
>
>
> The code
> log("ExceptionListener event: error " + exception.getErrorCode() + ", message: " + exception.getMessage());
> gives
> ExceptionListener event: error null, message: Exception thrown against AMQConnection:
> Host: localhost
> Port: 5672
> Virtual Host: /myBroker
> Client ID: blah
> Active session count: 0: org.apache.qpid.client.AMQNoRouteException: Error: Routing key queueNODEF is not known to org.apache.qpid.server.exchange.DestNameExchange[amq.direct] [error code 312]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (QPID-186) AMQConnection does not set error code
when constructing a JMSException
Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/QPID-186?page=all ]
Marnie McCormack updated QPID-186:
----------------------------------
Component/s: Java Client
> AMQConnection does not set error code when constructing a JMSException
> ----------------------------------------------------------------------
>
> Key: QPID-186
> URL: http://issues.apache.org/jira/browse/QPID-186
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M1
> Reporter: Marnie McCormack
> Assigned To: Marnie McCormack
> Priority: Minor
> Fix For: M2
>
>
> The code
> log("ExceptionListener event: error " + exception.getErrorCode() + ", message: " + exception.getMessage());
> gives
> ExceptionListener event: error null, message: Exception thrown against AMQConnection:
> Host: localhost
> Port: 5672
> Virtual Host: /myBroker
> Client ID: blah
> Active session count: 0: org.apache.qpid.client.AMQNoRouteException: Error: Routing key queueNODEF is not known to org.apache.qpid.server.exchange.DestNameExchange[amq.direct] [error code 312]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira