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

[Java Broker] [AMQP 1.0] the 'closed' field is ignored when detaching

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.31
    • 0.31
    • Broker-J
    • None

    Description

      The broker does not currently inspect the closed flag of the Detach when deciding whether to close detaching consumer links, and instead seems to base its action on the terminus durability.

      E.g in SendingLink_1_0.remoteDetached(LinkEndpoint, Detach), it inspects the source terminus-durability and closes [almost] everything that is not specifying UNSETTLED_STATE durability:

              //TODO
              // if not durable or close
              if(!TerminusDurability.UNSETTLED_STATE.equals(_durability))
              {
      

      This is presumably the reason that QPID-6380 does not result in removal of the DurableSubscription backing queue when 'closing' a JMS durable TopicSubscriber from the 'existing' AMQP 1.0 JMS client, as it uses UNSETTLED_STATE durability on those links.

      Attachments

        Issue Links

          Activity

            People

              rgodfrey Robert Godfrey
              robbie Robbie Gemmell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: