jms-spec
  1. jms-spec
  2. JMS_SPEC-42

Make support for JMSXDeliveryCount mandatory

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 2.0ED, 2.0
    • Labels:
      None

      Description

      This issue was raised by a member of the JSR 343 Expert Group and is logged here to allow the issue to be discussed and tracked.

      It is proposed that support for the JMS defined message property JMSXDeliveryCount be made mandatory.

      The JMS 1.1 specification currently defines an optional JMS defined message property JMSXDeliveryCount. When used, this is set by the JMS provider when a message is received, and is set to the number of times this message has been delivered (including the first time). The first time is 1, the second time 2, etc.

      Support for this property would allow arbitrary containers and applications to improve the way they handle "poisonous" messages - messages which cannot be consumed for some reason and need to be redelivered. For example, it would allow applications to detect when a message has been redelivered more than a specified number of times and perform some special handling such as redirecting it to some other destination.

      This property wouldn't need to be perfectly accurate every time. For example, it wouldn't be necessary to persist this value in the server. A "best efforts" implementation would probably be adequately.

        Issue Links

          Activity

          Nigel Deakin created issue -
          Nigel Deakin made changes -
          Field Original Value New Value
          Tags eg ed-added eg
          Nigel Deakin made changes -
          Tags ed-added eg eg
          Nigel Deakin made changes -
          Tags eg ed20-added eg
          Nigel Deakin made changes -
          Link This issue blocks MQ-173 [ MQ-173 ]
          Nigel Deakin made changes -
          Tags ed20-added eg ed20-added
          Nigel Deakin made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Nigel Deakin [ nigeldeakin ]
          Fix Version/s 2.0ED [ 16048 ]
          Fix Version/s 2.0 [ 14692 ]
          Resolution Fixed [ 1 ]
          amyk made changes -
          Link This issue blocks MQ-236 [ MQ-236 ]

            People

            • Assignee:
              Nigel Deakin
              Reporter:
              Nigel Deakin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: