[ 
https://issues.apache.org/activemq/browse/SM-228?page=comments#action_36779 ] 
            
Guillaume Nodet commented on SM-228:
------------------------------------

The bug is about parameters on the http uri, such as 
http://localhost:8080/?param=value
These parameters are put in properties for non POST http requests.
The problem with POST requests is that when the content type is
application/x-www-form-urlencoded (which is usually the case),
the content of the post request is also read to decode form parameters.
This lead to error when using the stream as an xml.
I think we could have both behaviors by adding a flag to control that.

You can also access the request uri which is put in a map with all cgi headers.



> Get back http parameters as inMessage.properties in a POST request.
> -------------------------------------------------------------------
>
>                 Key: SM-228
>                 URL: https://issues.apache.org/activemq/browse/SM-228
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-components
>    Affects Versions: 3.0-M1, 2.0.1, 2.0.2, 2.0.3
>         Environment: All
>            Reporter: Angel Gomez
>            Priority: Minor
>         Attachments: HttpMarshaler.java
>
>
> To have the parameters of an Http Post Request available in inMessage.
> This behavior was present in version 1.0 and changed in a latter version ( 
> 2.0.2 + ) from a change in HttpMarshaller.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to