jms-spec
  1. jms-spec
  2. JMS_SPEC-22

Add JMS defined property JMSXGroupLast

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      When grouping messages, there is no specified way to flag a message as the last one in a group.
      To determine the last message in a group, one has to fall back to a vendor-specific property.
      A good example can be found here: http://www.ibm.com/developerworks/websphere/library/techarticles/0602_currie/0602_currie.html

      Adding a boolean JMS defined property with a name like JMSXGroupLast or similar would enable receiving group messages to be portable among different JMS providers.

        Activity

        Hide
        Nigel Deakin added a comment -

        So JMSXGroupLast would be another JMS-defined property to add to JMSXGroupID (The identity of the message group this message is part of) and JMSXGroupSeq (The sequence number of this message within the group).

        As with the two existing properties, all that JMS will do is define the name of this new property. It will not require JMS providers to provide any functionality related to them.

        This proposal will be reviewed by the expert group for inclusion in the JMS 2.0 public draft. Tagging accordingly.

        Show
        Nigel Deakin added a comment - So JMSXGroupLast would be another JMS-defined property to add to JMSXGroupID (The identity of the message group this message is part of) and JMSXGroupSeq (The sequence number of this message within the group). As with the two existing properties, all that JMS will do is define the name of this new property. It will not require JMS providers to provide any functionality related to them. This proposal will be reviewed by the expert group for inclusion in the JMS 2.0 public draft. Tagging accordingly.
        Hide
        F.Degenaar added a comment -

        For the current message group properties the spec states "JMSXGroupID and JMSXGroupSeq are standard properties clients should use if they want to group messages. All providers must support them.". JMSXGroupLast should be included in the first sentence, so getting and setting this property is guaranteed behaviour.

        Show
        F.Degenaar added a comment - For the current message group properties the spec states "JMSXGroupID and JMSXGroupSeq are standard properties clients should use if they want to group messages. All providers must support them.". JMSXGroupLast should be included in the first sentence, so getting and setting this property is guaranteed behaviour.
        Hide
        Nigel Deakin added a comment -

        Agreed. That was what I intended. However I think it would be worth clarifying that a JMS provider is not required to do anything more than allow this property to be set and got.

        Show
        Nigel Deakin added a comment - Agreed. That was what I intended. However I think it would be worth clarifying that a JMS provider is not required to do anything more than allow this property to be set and got.

          People

          • Assignee:
            Unassigned
            Reporter:
            F.Degenaar
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: