CamelInvoker should set ExchangePattern according to the ServiceModel when use 
MESSAGE and PAYLOAD dataFormat
-------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-568
                 URL: https://issues.apache.org/activemq/browse/CAMEL-568
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-cxf
            Reporter: Freeman Fang
             Fix For: 1.4.0
         Attachments: camel-568.patch

add code as below         
       BindingOperationInfo bop = exchange.get(BindingOperationInfo.class);
        
        if (bop != null && bop.getOperationInfo().isOneWay()) {
            cxfExchange.setPattern(ExchangePattern.InOnly);
        } else {
            cxfExchange.setPattern(ExchangePattern.InOut);
        }

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

Reply via email to