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

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

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
             Fix For: 1.6.1


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.


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

Posted by "William Tam (JIRA)" <ji...@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.


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

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-1474 started by William Tam.

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


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

Posted by "William Tam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50827#action_50827 ] 

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

Thanks Claus. I'll fix SMX

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


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50726#action_50726 ] 

Claus Ibsen commented on CAMEL-1474:
------------------------------------

Remember to update the wiki as well with this new feature

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


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

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam resolved CAMEL-1474.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

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


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50831#action_50831 ] 

Claus Ibsen commented on CAMEL-1474:
------------------------------------

@William

What do you mean with camel-mail?

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


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

Posted by "William Tam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50828#action_50828 ] 

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

@claus
Actually, it looks like your camel-mail hasn't been reinstalled?  Is it possible?

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


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50824#action_50824 ] 

Claus Ibsen commented on CAMEL-1474:
------------------------------------

William

You need to fix the SMX side as well. You now get failure in SMX when running Camel 2.0 trunk there:
{code}
13:41:14,211 | WARN  | nerContainer-323 | DefaultMessageListenerContainer  | AbstractMessageListenerContainer  646 | Execution of JMS message listener failed    
java.lang.NoSuchMethodError: org.apache.camel.spi.HeaderFilterStrategy.applyFilterToCamelHeaders(Ljava/lang/String;Ljava/lang/Object;)Z                          
        at org.apache.camel.component.mail.MailBinding.appendHeadersFromCamelMessage(MailBinding.java:126)                                                      
        at org.apache.camel.component.mail.MailBinding.populateMailMessage(MailBinding.java:82)                                                                  
        at org.apache.camel.component.mail.MailProducer$1.prepare(MailProducer.java:48)                                                                          
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:354)                                                                
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:346)                                                                
        at org.apache.camel.component.mail.MailProducer.process(MailProducer.java:46)                                                                            
        at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:69)                                                                              
        at org.apache.camel.processor.DelegateProcessor.processNext(DelegateProcessor.java:49)                                                                  
        at org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:78)                                                                      
        at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:115)                                                            
        at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)           
{code}

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


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

Posted by "William Tam (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam reassigned CAMEL-1474:
----------------------------------

    Assignee: William Tam

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


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

Posted by "William Tam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50806#action_50806 ] 

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

Trunk: Committed revision 758505.


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


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

Posted by "William Tam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50830#action_50830 ] 

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

@claus
Actually, it looks like the your camel-mail hasn't been
rebuilt/reinstalled?  Is it possible?



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


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50832#action_50832 ] 

Claus Ibsen commented on CAMEL-1474:
------------------------------------

Ah

The above stacktrace is from an end user on camel IRC. So maybe he just needs to rebuild all Camel components?

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


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

Posted by "Marat Bedretdinov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marat Bedretdinov updated CAMEL-1474:
-------------------------------------

    Attachment: camel-cxf-CAMEL-1474-2009-03-20.patch.txt

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