Qpid
  1. Qpid
  2. QPID-3881

[Java broker] ensure that unroutable 0-8/0-9/0-9-1 messages are not entered into the store

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Component/s: Java Broker
    • Labels:
      None

      Description

      Ensure that unroutable 0-8/0-9/0-9-1 messages are not entered into the store.

      Currently, if an unroutable message is sent to the broker on a 0-8/0-9/0-9-1 connection it will insert the metadata into the store immediately and then route the message (and ultimately discover it is unroutable), then continue to add the content payload into the store as it arrives and finally orphan the message in the store (to later be cleaned up when the broker restarts and identifies the message isn't on any queues). The 0-10 connection codepath never puts the message near the store until it has been verified that it can be enqueued, the 0-8/0-9/0-9-1 handling should be updated similarly.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Hi Rob,

        Could you give this a look over please?

        Thanks, Robbie

        Show
        Robbie Gemmell added a comment - Hi Rob, Could you give this a look over please? Thanks, Robbie
        Hide
        Rob Godfrey added a comment -

        Looks good to me

        Show
        Rob Godfrey added a comment - Looks good to me

          People

          • Assignee:
            Rob Godfrey
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development