You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/08/13 13:57:00 UTC

[jira] [Commented] (CAMEL-16863) use wiretap eip will lost the original message body

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

Claus Ibsen commented on CAMEL-16863:
-------------------------------------

try set ?exchangePattern=InOut in the spring-ws endpoint

> use wiretap eip will lost the original message body
> ---------------------------------------------------
>
>                 Key: CAMEL-16863
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16863
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-ws
>    Affects Versions: 3.11.1
>         Environment: springboot 2.5.3 + camel 3.11.1
>            Reporter: qingbo li
>            Priority: Major
>
> Hi ,
>  we are using Camel(3.11.1) Spring Ws for the ws server and use wiretap eip to log and found the following problem:
> the wiretap exchange lost the original message body.i found the reason is: doCopyResults method in ExchangeHelper will not copy body while the result exchange's pattern is InOptionalOut.but I don't know how to change it and when the InOptionalOut Exchange offer to exchange pool (I set exchange factory = pooled)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)