qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [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
Date Fri, 13 Jun 2014 16:35:01 GMT
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


Mime
View raw message