You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2014/06/13 18:35:01 UTC

[jira] [Created] (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

Alex Rudyy created QPID-5816:
--------------------------------

             Summary: [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.26, 0.24, 0.22, 0.20
            Reporter: Alex Rudyy


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.2#6252)

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