Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-32

Undeliverable messages should get released.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.6.0
    • Router Node
    • None
    • cold, snowy.

    Description

      I have a test in which I make a 6-router network, then repeatedly kill and restart nodes.

      To determine when the network is ready to rock, I send messages to each node that I expect to find in the network. All messages are sent through the one node that I am connected to.

      At first, some of those messages are undeliverable. This is expected, since I just deliberately messed up the network.

      the problem is that, for those undeliverables, I never get back any kind of disposition. for the good ones, i get 'settled'. for the undeliverable ones, i get nothing.

      this means that i cannot close my session.
      if i created the sender on it this way:
      Sender sender = session.createSender("mgmt");
      then it will not close.

      I can work around the problem by creating the sender this way:
      Sender sender = session.createSender("mgmt; {link:{reliability:unreliable}}");

      ...but we should still get back dispos for all messages.

      Attachments

        Issue Links

          Activity

            People

              tross Ted Ross
              mgoulish Michael Goulish
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: