Qpid
  1. Qpid
  2. QPID-3539

NoLocal should occur at the connection level and not the session level (0-10)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.13
    • Fix Version/s: 0.15
    • Component/s: Java Client
    • Labels:
      None

      Description

      According to the JMS spec the setting of the NoLocal parameter to the method createDurableSubscriber should prevent the delivery of messages produced by the same connection, this is not the behavior in Qpid for 0-10.

      This appears to be because NoLocal is done at a session level rather than at connection level.

        Activity

        Andrew MacBean created issue -
        Andrew MacBean made changes -
        Field Original Value New Value
        Summary The setting of NoLocal when creating a durable subscription does not have the desired affect of preventing delivery of message on same connection. NoLocal should occur at the connection level and not the session level (0-10)
        Description According to the JMS spec the setting of the NoLocal parameter to the method createDurableSubscriber should prevent the delivery of messages produced by the same connection, this is not the behavior in Qpid for 0-10. According to the JMS spec the setting of the NoLocal parameter to the method createDurableSubscriber should prevent the delivery of messages produced by the same connection, this is not the behavior in Qpid for 0-10.

        This appears to be because NoLocal is done at a session level rather than at connection level.
        Alex Rudyy made changes -
        Assignee Alex Rudyy [ alex.rufous ]
        Alex Rudyy made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Alex Rudyy added a comment -

        Attached a patch fixing the issue

        Show
        Alex Rudyy added a comment - Attached a patch fixing the issue
        Alex Rudyy made changes -
        Alex Rudyy made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Hide
        Alex Rudyy added a comment -

        Keith,
        Could you please review and commit the patch?

        Show
        Alex Rudyy added a comment - Keith, Could you please review and commit the patch?
        Alex Rudyy made changes -
        Assignee Alex Rudyy [ alex.rufous ] Keith Wall [ k-wall ]
        Hide
        Keith Wall added a comment -

        Patch applied; no comments.

        Show
        Keith Wall added a comment - Patch applied; no comments.
        Keith Wall made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Fix Version/s 0.15 [ 12319043 ]
        Resolution Fixed [ 1 ]
        Keith Wall made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        30d 23h 3m 1 Alex Rudyy 10/Nov/11 13:23
        In Progress In Progress Reviewable Reviewable
        2m 5s 1 Alex Rudyy 10/Nov/11 13:25
        Reviewable Reviewable Resolved Resolved
        51m 6s 1 Keith Wall 10/Nov/11 14:16
        Resolved Resolved Closed Closed
        19h 28m 1 Keith Wall 11/Nov/11 09:44

          People

          • Assignee:
            Keith Wall
            Reporter:
            Andrew MacBean
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development