You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "William Tam (JIRA)" <ji...@apache.org> on 2009/03/20 21:10:42 UTC

[jira] Commented: (CAMEL-1474) On the wire headers are dropped inside camel route between two CxfEndpoints

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

William Tam commented on CAMEL-1474:
------------------------------------

Patch applied (r756742).  Big thanks to Marat.   I'll propagate fix to trunk.


> On the wire headers are dropped inside camel route between two CxfEndpoints
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-1474
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1474
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 1.6.0
>            Reporter: Marat Bedretdinov
>            Assignee: William Tam
>             Fix For: 1.6.1
>
>         Attachments: camel-cxf-CAMEL-1474-2009-03-20.patch.txt
>
>
> Currently if there is a Camel route that involves two or more cxf endpoints, then the on the wire message headers such as SOAP headers are dropped.
> This fix enables one to relay these headers along the route or preserve the old behaviour and drop the headers. 
> Headers relay/drop is bidirectional. Both out-of-band (*not* defined  in WSDL contract) and in-band (defined in WSDL contract) headers are supported.
> Relaying headers can be further customized by implementing additional logic inside of MessageHeadersRelay interface. 
> The default behaviour is to relay headers provided that  an instance of MessageHeadersRelay bound to message binding namespace allows a header to be relayed. 
> Please see .../components/camel-cxf/src/test/java/org/apache/camel/component/cxf/soap/headers/CxfMessageHeadersRelayTest.java for details on how this is done.
> Attached is the patch that provides this functionality.
> Thanks,
> Marat

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