Return-Path: X-Original-To: apmail-qpid-dev-archive@www.apache.org Delivered-To: apmail-qpid-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6792010A95 for ; Tue, 7 Jan 2014 18:46:49 +0000 (UTC) Received: (qmail 33060 invoked by uid 500); 7 Jan 2014 18:44:46 -0000 Delivered-To: apmail-qpid-dev-archive@qpid.apache.org Received: (qmail 32835 invoked by uid 500); 7 Jan 2014 18:44:23 -0000 Mailing-List: contact dev-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list dev@qpid.apache.org Received: (qmail 32397 invoked by uid 99); 7 Jan 2014 18:44:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 18:44:05 +0000 Date: Tue, 7 Jan 2014 18:44:04 +0000 (UTC) From: "Keith Wall (JIRA)" To: dev@qpid.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (QPID-5420) Creating consumer for Destination specifying the no-name exchange in binding url syntax fails against Java Broker. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/QPID-5420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Keith Wall resolved QPID-5420. ------------------------------ Resolution: Fixed > Creating consumer for Destination specifying the no-name exchange in binding url syntax fails against Java Broker. > ------------------------------------------------------------------------------------------------------------------ > > Key: QPID-5420 > URL: https://issues.apache.org/jira/browse/QPID-5420 > Project: Qpid > Issue Type: Bug > Components: Java Broker, Java Client > Affects Versions: 0.24, 0.26 > Reporter: Keith Wall > Assignee: Robbie Gemmell > Fix For: 0.27 > > Attachments: 0001-QPID-5420-Restore-ability-to-consume-using-BURLs-spe.patch > > > If when using the Java Broker, I try to consume from a Destination specified by a binding url, where the exchange part is empty (signifying the no-name exchange) > {noformat} > destination.sub1 = direct:////sub1?durable='true' > {noformat} > , then I see an exception: > On the client I see the following as the Java Broker closes the connection: > {noformat} > org.apache.qpid.AMQDisconnectedException: Server closed connection and reconnection not permitted. > {noformat} > On the broker, I see the following logged: > {noformat} > 2013-12-13 10:05:43,602 ERROR [IoReceiver - /127.0.0.1:49532] (v0_8.AMQProtocolEngine) - Unexpected exception while processing frame. Closing connection. > org.apache.qpid.AMQException: Exchange exchange must not be null > at org.apache.qpid.server.protocol.v0_8.handler.ExchangeBoundHandler.methodReceived(ExchangeBoundHandler.java:89) > at org.apache.qpid.server.protocol.v0_8.handler.ServerMethodDispatcherImpl.dispatchExchangeBound(ServerMethodDispatcherImpl.java:458) > at org.apache.qpid.framing.amqp_0_9.ExchangeBoundBodyImpl.execute(ExchangeBoundBodyImpl.java:130) > at org.apache.qpid.server.protocol.v0_8.state.AMQStateManager.methodReceived(AMQStateManager.java:120) > at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.methodFrameReceived(AMQProtocolEngine.java:578) > at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:97) > at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.frameReceived(AMQProtocolEngine.java:442) > at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.dataBlockReceived(AMQProtocolEngine.java:365) > at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.received(AMQProtocolEngine.java:286) > at org.apache.qpid.server.protocol.v0_8.AMQProtocolEngine.received(AMQProtocolEngine.java:104) > at org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:131) > at org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:47) > at org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:161) > at java.lang.Thread.run(Thread.java:744) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org For additional commands, e-mail: dev-help@qpid.apache.org