[ 
https://issues.apache.org/activemq/browse/SM-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42605#action_42605
 ] 

Jan Reynaerts commented on SM-1281:
-----------------------------------

Can you give me an indication, when this issue will be solved?

> Preserving or configuring content-type of http-header
> -----------------------------------------------------
>
>                 Key: SM-1281
>                 URL: https://issues.apache.org/activemq/browse/SM-1281
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http, servicemix-jsr181
>            Reporter: Jan Reynaerts
>            Assignee: Thomas Termin
>         Attachments: HttpEndpoint.java, ProviderProcessor.java
>
>
> I have a servicemix configuration with 3 components: 
> - a http-consumer component 
> - a http-provider component 
> - a jsr-181 component. In the jsr181 component I use a proxy, that exposes a 
> wsdl (generated by XFire) 
> Messages are sent from the http-consumer component through the jsr-181 
> component to the http-provider component. I want to preserve the content-type 
> from the incoming message. To do this I use the parameters 
> wantHeadersFromHttpIntoExchange and 
> wantContentTypeHeaderFromExchangeIntoHttpRequest. However in the 
> jsr181-component the content-type gets lost. Is it possible to preserve the 
> content-type of a message during his route through servicemix? 
> As a work-around (patch) we changed the code of the http-provider (  
> HttpEndpoint.java,   ProviderProcessor.java), where we introduced a new 
> parameter (overrideContentTypeHeader),  that allows you to override the 
> content-type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to