activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Kuhtz (JIRA)" <>
Subject [jira] Reopened: (AMQ-1960) Support REST consuming without sessions
Date Mon, 13 Oct 2008 10:24:52 GMT


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.
IOException ex = new IOException();

> Support REST consuming without sessions
> ---------------------------------------
>                 Key: AMQ-1960
>                 URL:
>             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.

View raw message