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

REST Content Type fixes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.15.9
    • Fix Version/s: 5.15.10, 5.16.0
    • Component/s: Web Console
    • Labels:
      None

      Description

      There are some problems with the REST Content-Type logic in MessageServlet as documented here: https://activemq.apache.org/rest

      • Specifying xml=true or json=true in the URL doesn't actually work, as the code is never called in MessageServlet.
      • The defaultContentType is always written out for XML messages, even if it's not an XML message.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              coheigea Colm O hEigeartaigh

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment