activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Kuhtz (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (AMQ-1960) Support REST consuming without sessions
Date Mon, 13 Oct 2008 10:28:52 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46396#action_46396
] 

akuhtz edited comment on AMQ-1960 at 10/13/08 3:28 AM:
--------------------------------------------------------------

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);
throw ex;
{code}

      was (Author: akuhtz):
    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.


Mime
View raw message