You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2014/01/09 20:57:50 UTC
[jira] [Resolved] (QPID-4877) Consumers created using BURLs without
named exchange fail with "Cannot add bindings to the default exchange
[error code 403: access refused]"
[ https://issues.apache.org/jira/browse/QPID-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall resolved QPID-4877.
------------------------------
Resolution: Fixed
Fixed by QPID-5420.
> 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 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