some issues with camel-cxf component
------------------------------------

                 Key: CAMEL-247
                 URL: https://issues.apache.org/activemq/browse/CAMEL-247
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 1.2.0
            Reporter: Freeman Fang
             Fix For: 1.3.0


1. input params List shouldn't be null, at lease it should be a empty List,
so use
List<Object> params = new ArrayList<Object>();
instead of 
List<Object> params = null;
in CamelInvoker.java
to avoid input params is null

2. Cxf Producer should only copy back exchange when ExchangePattern is not 
InOnly
so  use
if (exchange.getPattern() != ExchangePattern.InOnly) {
                exchange.copyFrom(cxfExchange);
}
instead of 
    exchange.copyFrom(cxfExchange);

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