[
https://issues.apache.org/jira/browse/AMQ-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486614#comment-13486614
]
Stephen Vincent commented on AMQ-4072:
--------------------------------------
Another thing I notice when I add a &JMSCorrelationID= query parameter to the
URI found in the start-line(first HTTP header) of the HTTP POST request, is
that when I quote the value of the JMSCorrelationID= parameter, the quotes are
treated as part of value. If I remove the quotes, it works, but then I must be
careful to handle special characters such as blank, ampersand, etc. Given that
the query parameter is within a URI, I assume my app must take care when it
comes to what is added to the URI.
> RESTful HTTP interface responses do not contain a correlation ID header
> -----------------------------------------------------------------------
>
> Key: AMQ-4072
> URL: https://issues.apache.org/jira/browse/AMQ-4072
> Project: ActiveMQ
> Issue Type: Bug
> Components: Transport
> Affects Versions: 5.6.0
> Environment: RESTful HTTP client
> Reporter: Stephen Vincent
> Fix For: 5.8.0
>
> Attachments: CorrelId.java
>
>
> When using a RESTful HTTP client to GET a message that has a correlation ID,
> the correlation ID is not sent as a header in the response from the broker.
> This inhibits my RESTful HTTP client from performing request-response.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira