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

Support REST consuming without sessions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None

      Description

      If the REST client passes consumerId parameter, it should consume messages using the WebClient stored in an application scope

      For example subsequent calls to the

      http://localhost:8161/demo/message/TEST?type=queue

      creates a new session every time (and try to use new consumer) if client does not keep session cookies.

      It should be possible to do something like this

      http://localhost:8161/demo/message/TEST?type=queue&consumerId=ABC

      and allow clients to do sessionless consuming using the same consumer

        Attachments

          Activity

            People

            • Assignee:
              dejanb Dejan Bosanac
              Reporter:
              dejanb Dejan Bosanac
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: