Uploaded image for project: 'Qpid'
  1. Qpid
  2. 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

    XMLWordPrintableJSON

Details

    Description

      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:

      ...
      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)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              orudyy Alex Rudyy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: