Qpid Proton
  1. Qpid Proton
  2. PROTON-474

Incorrect mapping of TTL to JMSExpiration in JMS InboundTransformer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development