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

ActiveMQ Message getProperty and setProperty inconsistent behaviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.10.0
    • 5.10.1, 5.11.0
    • JMS client
    • None

    Description

      When you retrieve the JMSDeliveryMode property from an ActiveMQ message, it returns either "PERSITENT" or "NON_PERSISTENT".

      However, when using the set property, it only supports either Integer values or Boolean values.

      That is why is sensible to support the mapping from the above string representation ("PERSITENT" or "NON_PERSISTENT") to integer (1 or 2).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joaomelo Joao Silva de Melo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: