Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 84961 invoked from network); 26 Mar 2009 17:08:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2009 17:08:08 -0000 Received: (qmail 77051 invoked by uid 500); 26 Mar 2009 17:08:07 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 77030 invoked by uid 500); 26 Mar 2009 17:08:07 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 77009 invoked by uid 500); 26 Mar 2009 17:08:07 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 77001 invoked by uid 99); 26 Mar 2009 17:08:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 17:08:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 17:08:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 04B68234C044 for ; Thu, 26 Mar 2009 10:07:44 -0700 (PDT) Message-ID: <489815629.1238087264017.JavaMail.jira@brutus> Date: Thu, 26 Mar 2009 10:07:44 -0700 (PDT) From: "William Tam (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-1474) On the wire headers are dropped inside camel route between two CxfEndpoints In-Reply-To: <1580748305.1237577204362.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50833#action_50833 ] William Tam commented on CAMEL-1474: ------------------------------------ Yea, I'd make sure all component are rebuilt and re-install. From the stackstrace, it looks like camel-mail component is still invoking the old method of HeaderFilterStrategy that does not have a new Exchange argument. > 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: 2.0.0, 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.