Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-2441

TimeStampingBrokerPlugin Not Working on Fuse 5.3.0.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.3.0
    • 5.3.0
    • Broker
    • None
    • Patch Available

    Description

      Due to the adding of the new properties to TimeStampingBrokerPlugin the "message.setTimestamp()" was misplaced and is set to early in the code.

      The line need to be placed as the last line in the method send() as was in 5.2.

      In addition the Plugin doesn't handle the scenario where the Broker is running "behind" its client. What is happening is that it's setting the Expiration and TimeStamp to historical values in the client perspective causing them to be discarded by the clients.

      I have supplied a patch that solves both issues.

      Attachments

        Activity

          People

            dejanb Dejan Bosanac
            as972 asivan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: