Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-1276

Issue with Durable Subscriber using qpid lib

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.3.0.B1
    • 2.2.1.GA
    • qpid-jms
    • None
    • Release Notes
    • +
    • Pacheco

      When using session.unsubscribe("<subscriberName>") in below user case we encounter exception.

      javax.jms.JMSException: AMQ119005: error creating consumer, AMQ229200: Maximum Consumer Limit Reached on Queue:(address=topic.sample,queue=ClientID34569.MCVDurableSub2) [condition = amqp:internal-error]
      

      Use case

      Acknowledge mode as CLIENT_ACKNOWLEDGE
      Durable Subscriber picked the message from topic.
      Session.recover() is called which causes the redelivery of all unacknowledged messages.
      The application receives a subsequent messages and acknowledges it
      Application try to remove the Durable Subscriber and get the exception.

        1. broker.xml
          10 kB
        2. DurableSub-Code.rtf
          5 kB
        3. DurableTesting.java
          3 kB

            jross@redhat.com Justin Ross
            rpatni Ritesh Patni (Inactive)
            Jiri Daněk Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: