You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Alan Hudson (JIRA)" <ji...@apache.org> on 2012/05/28 22:05:22 UTC

[jira] [Commented] (AMQ-3857) MessageServlet get messages does not return JMS Message Properties

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

Alan Hudson commented on AMQ-3857:
----------------------------------

Looking around I see that HornetQ has a REST api as well.  They return the JMS property values as headers.  This looks reasonable to me and shouldn't break any existing clients using this api.  I'll attach a proposed change to support this.
                
> MessageServlet get messages does not return JMS Message Properties
> ------------------------------------------------------------------
>
>                 Key: AMQ-3857
>                 URL: https://issues.apache.org/jira/browse/AMQ-3857
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0, 5.6.0
>            Reporter: Alan Hudson
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> When using GET to get a message it does not return any of the JMS message properties.
> I can easily see how to add that code, but I'm not sure what the correct way to return them is.  They could go into the response headers via setResponseHeaders or the returned XML format could be changed to support properties and the header.  Sadly this would likely break most existing clients.  
> We'd like to use the REST API to enable some web clients to fully participate in a messaging system that is primarily Java based.  
> If we can come to agreement on how we want to return properties then I'd be happy to code up a patch.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira