activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-1960) Support REST consuming without sessions
Date Thu, 09 Oct 2008 13:23:52 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dejan Bosanac resolved AMQ-1960.
--------------------------------

    Fix Version/s: 5.3.0
       Resolution: Fixed

If you pass a clientId parameter with your request, the servlet will try to use local (not
session) web client. I've used clientId instead of consumerId, since it is important to have
this even for producing messaging (so we don't create new connection for every request).

> Support REST consuming without sessions
> ---------------------------------------
>
>                 Key: AMQ-1960
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1960
>             Project: ActiveMQ
>          Issue Type: Improvement
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.3.0
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message