qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6066) [0-8..0-9-1] Client AMQSession#getQueueDepth() call fails against pre 0.30 java brokers
Date Fri, 05 Sep 2014 16:05:29 GMT

    [ https://issues.apache.org/jira/browse/QPID-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14123080#comment-14123080
] 

ASF subversion and git services commented on QPID-6066:
-------------------------------------------------------

Commit 1622730 from [~k-wall] in branch 'qpid/branches/0.30'
[ https://svn.apache.org/r1622730 ]

QPID-6066: [Java Client] 0-8..0-9-1 only - Add system property to allow call to exchange.bound
during AMQSession#getQueueDepth to be omitted
This prevents interoperabiliy problem with older Java Brokers, and gives users a change to
restore old behaviour (AMQChannelException in the event
that the queue does not exist) if desired.

Merged from trunk with command:

svn merge -c 1622176 https://svn.apache.org/repos/asf/qpid/trunk/qpid

> [0-8..0-9-1] Client AMQSession#getQueueDepth() call fails against pre 0.30 java brokers
> ---------------------------------------------------------------------------------------
>
>                 Key: QPID-6066
>                 URL: https://issues.apache.org/jira/browse/QPID-6066
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Client
>    Affects Versions: 0.30
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>             Fix For: 0.31
>
>
> When I try to enquire queue depth using the non-JMS API (AMQSession#getQueueDepth())
against a pre 0.30 Java Broker using the 0-8..0-9-1 protocol, the call ends with the following
exception.
> {noformat}
> 2014-09-02 09:03:42,147 ERROR [IoReceiver - /127.0.0.1:59381] (protocol.AMQProtocolEngine)
- Unexpected exception while processing frame.   Closing connection. org.apache.qpid.AMQException:
Exchange exchange must not be null at 
> org.apache.qpid.server.handler.ExchangeBoundHandler.methodReceived(ExchangeBoundHandler.java:89)
at 
> org.apache.qpid.server.handler.ServerMethodDispatcherImpl.dispatchExchangeBound(ServerMethodDispatcherImpl.java:458)
at 
> org.apache.qpid.framing.amqp_0_9.ExchangeBoundBodyImpl.execute(ExchangeBoundBodyImpl.java:130)
at 
> org.apache.qpid.server.state.AMQStateManager.methodReceived(AMQStateManager.java:120)
at 
> org.apache.qpid.server.protocol.AMQProtocolEngine.methodFrameReceived(AMQProtocolEngine.java:569)
at 
> org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:97) at 
> org.apache.qpid.server.protocol.AMQProtocolEngine.frameReceived(AMQProtocolEngine.java:433)
at 
> org.apache.qpid.server.protocol.AMQProtocolEngine.dataBlockReceived(AMQProtocolEngine.java:356)
at 
> org.apache.qpid.server.protocol.AMQProtocolEngine.received(AMQProtocolEngine.java:277)
at 
> org.apache.qpid.server.protocol.AMQProtocolEngine.received(AMQProtocolEngine.java:103)
at 
> org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:118)
at 
> org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:37)
at 
> org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:161) at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message