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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8
    • Component/s: JMS AMQP 0-x
    • Labels:
      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

            • Assignee:
              rajith Rajith Attapattu
              Reporter:
              rajith Rajith Attapattu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: