You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2007/11/29 18:39:26 UTC

[jira] Resolved: (CAMEL-247) some issues with camel-cxf component

     [ https://issues.apache.org/activemq/browse/CAMEL-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea resolved CAMEL-247.
-----------------------------------

    Resolution: Fixed

Patch applied with thanks!

> 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
>
>         Attachments: CAMEL-247.patch
>
>
> 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.