Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-474

Incorrect mapping of TTL to JMSExpiration in JMS InboundTransformer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.8
    • Component/s: proton-j
    • Labels:
      None

      Description

      The inbound message transformation of AMQP message to JMS message incorrectly sets the JMSExpiration to message TTL which is defined in milliseconds while the JMSExpiration value is a sum of the Message Timestamp and the producers TTL. The transformation should probably map the message creation time + the TTL to the setJMSExpiration method.

        Attachments

        1. PROTON-474-v3.patch
          4 kB
          Robbie Gemmell
        2. PROTON-474-v2.patch
          4 kB
          Hiram Chirino
        3. JMSExpiration-patch.txt
          0.7 kB
          Timothy Bish

          Issue Links

            Activity

              People

              • Assignee:
                gemmellr Robbie Gemmell
                Reporter:
                tabish121 Timothy Bish
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: