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 2016/05/12 08:43:12 UTC

[jira] [Resolved] (QPID-5816) [Java Client 0-10] If a resolved destination is used to create a consumer on a new connection created after destination was resolved, the client does not try to create the destination on the broker

     [ https://issues.apache.org/jira/browse/QPID-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall resolved QPID-5816.
------------------------------
    Resolution: Fixed

Alex and I paired on this task.

> [Java Client 0-10] If a resolved destination is used to create a consumer on a new connection created after destination was resolved, the client does not try to create the destination on the broker
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5816
>                 URL: https://issues.apache.org/jira/browse/QPID-5816
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.20, 0.22, 0.24, 0.26
>            Reporter: Alex Rudyy
>             Fix For: qpid-java-6.0.3, qpid-java-6.1
>
>
> On consumer creation for a destination marked as resolved 0.10 client does not send exchange.declare, queue.declare and exchange.bind commands to the broker in order to create the corresponding broker entities.
> If such resolved destination is used to create consumer and the destination node does not exist on a broker, the consumer creation will fail.
> In response to subscribe command the broker can return an exception because destination does not exist:
> {noformat}
> ...
> SEND: [conn:7e779b1b] ch=0 id=2 MessageSubscribe(queue=test_queue, destination=1, acceptMode=EXPLICIT, acquireMode=PRE_ACQUIRED, resumeTtl=0, arguments={x-filter-jms-selector=})
> ...
> RECV: [conn:7e779b1b] ch=0 ExecutionException(errorCode=NOT_FOUND, commandId=2, description=Queue: test_queue not found)
> ...
> {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