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

[contrib/proton-jms] delivery-count is set incorrectly during Native outbound transformation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.7
    • proton-0.8
    • None
    • None

    Description

      In the proton-jms contrib artifact, delivery-count is set incorrectly (based on JMSXDeliveryCount) during outbound 'Native' message transformation.

      The value set is the same as the JMSXDeliveryCount value encountered, which is incorrect as the two have different semantics. The delivery-count field in the AMQP 1.0 message header tracks prior unsuccessful delivery attempts and so should go 0,1,2 etc if set. JMSXDeliveryCount property in JMS tracks the total number of delivery attempts, and should go 1,2,3. As such, delivery-count should be 1 less than JMSXDeliveryCount, not equal to it.

      Attachments

        Issue Links

          Activity

            People

              robbie Robbie Gemmell
              robbie Robbie Gemmell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: