You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Andreas Kuhtz (JIRA)" <ji...@apache.org> on 2008/10/13 12:24:52 UTC
[jira] Reopened: (AMQ-1960) Support REST consuming without sessions
[ https://issues.apache.org/activemq/browse/AMQ-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Kuhtz reopened AMQ-1960:
--------------------------------
The patch in MessageServlet (line 126) will not compile under JDK5 because the IOException(Throwable cause) was added in JDK6.
The following code (replacement for line 126) will build under JDK5.
{code}
IOException ex = new IOException();
ex.initCause(e);
{code}
> 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.