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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.31
    • Fix Version/s: 0.31
    • Component/s: Broker-J
    • Labels:
      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

            • Assignee:
              rgodfrey Robert Godfrey
              Reporter:
              robbie Robbie Gemmell

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment