Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2928

Java client always create exclusive lock for the queue when use with the new addressing scheme

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8
    • JMS AMQP 0-x
    • None

    Description

      Java client always create exclusive lock for the queue when a destination is created with an addressing scheme, it does not allow two
      consumer to connect to the same queue.

      for example, using following address will get exception
      my_queue;{create:always,node:{type:queue,x-declare:

      {exclusive:False,auto-delete:True}

      }}

      ==exception==
      org.apache.qpid.transport.SessionException: ch=0 id=1
      ExecutionException(errorCode=RESOURCE_LOCKED, commandId=1, classCo
      de=4, commandCode=7, fieldIndex=0, description=resource-locked: Queue
      my_queue has an exclusive con
      sumer. No more consumers allowed. (qpid/broker/Queue.cpp:459), errorInfo={})

      Attachments

        Activity

          People

            rajith Rajith Muditha Attapattu
            rajith Rajith Muditha Attapattu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: