[
https://issues.apache.org/jira/browse/QPID-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Wall updated QPID-4877:
-----------------------------
Summary: Consumers created using BURLs without named exchange fail with
"Cannot add bindings to the default exchange [error code 403: access refused]"
(was: Consumers created using BURLs without exchanges fail with "Cannot add
bindings to the default exchange [error code 403: access refused]")
> Consumers created using BURLs without named exchange fail with "Cannot add
> bindings to the default exchange [error code 403: access refused]"
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-4877
> URL: https://issues.apache.org/jira/browse/QPID-4877
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Java Client
> Affects Versions: 0.23
> Reporter: Keith Wall
>
> Since QPID-4832, if a client, using a BURL that does not reference the
> exchange, attempts Session#createConsumer(), he will see a stack trace.
> Example BURL:
> destination.myqueue = BURL:direct:///myqueue/myqueue?routingkey='myqueue'
> {noformat}
> 2013-05-22 11:27:29,255 DEBUG [IoReceiver - localhost/127.0.0.1:5672]
> [AMQConnection] exceptionReceived done by:IoReceiver -
> localhost/127.0.0.1:5672
> org.apache.qpid.AMQChannelClosedException: Error:
> org.apache.qpid.AMQSecurityException: Cannot add bindings to the default
> exchange [error code 403: access refused] [error code 504: channel error]
> at
> org.apache.qpid.client.handler.ChannelCloseMethodHandler.methodReceived(ChannelCloseMethodHandler.java:97)
> at
> org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchChannelClose(ClientMethodDispatcherImpl.java:164)
> at
> org.apache.qpid.framing.amqp_0_9.ChannelCloseBodyImpl.execute(ChannelCloseBodyImpl.java:137)
> at
> org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:114)
> at
> org.apache.qpid.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:520)
> at
> org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:462)
> at
> org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:97)
> at
> org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:477)
> at
> org.apache.qpid.client.protocol.AMQProtocolHandler.received(AMQProtocolHandler.java:1)
> at
> org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:161)
> at java.lang.Thread.run(Thread.java:662)
> {noformat}
> The user can work around the issue by including the exchange name within the
> BURL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]