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

Andrej Zachar commented on CAMEL-5724:
--------------------------------------

Hi Willem, 
do you mean usage similar to cxf, e.g. like this:

<bean id="customMessageFilterStrategy" 
class="org.apache.camel.component.cxf.common.header.CxfHeaderFilterStrategy">
    <property name="messageHeaderFilters">
        <list>
            <!--  SoapMessageHeaderFilter is the built in filter.  It can be 
removed by omitting it. -->
            <bean 
class="org.apache.camel.component.cxf.common.header.SoapMessageHeaderFilter"/>
            
            <!--  Add custom filter here -->    
            <bean 
class="org.apache.camel.component.cxf.soap.headers.CustomHeaderFilter"/>
        </list>
    </property>
</bean>

source: http://camel.apache.org/cxf.html
                
> Spring-WS consumer and producer do not propagate any custom header to a 
> response message
> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5724
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5724
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring-ws
>    Affects Versions: 2.10.1
>            Reporter: Andrej Zachar
>              Labels: patch
>             Fix For: 2.10.3, 2.11.0
>
>         Attachments: camel-spring-ws.patch
>
>
> Hi!
> I wanted to send back as response or as a request some soap messages with 
> modified header.
> I found out that SpringWebserviceProducer and SpringWebserviceConsumer do not 
> populate a soap header for any outgoing message from a camel exchange.
> In the attachments I am sending you a patch against camel-spring-ws 2.10.1 
> that solves this issue.
> Please let me know, what do you think about it.
> Best regards,
> Andrej
>  

--
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

Reply via email to