camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-2345) One should not have to explicitly provide the service/port for cxf is there's only one
Date Thu, 14 Jan 2010 10:24:43 GMT

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

Willem Jiang resolved CAMEL-2345.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

i changed the NullPoint check to log warning message.


> One should not have to explicitly provide the service/port for cxf is there's only one
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2345
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2345
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.1.0
>            Reporter: Hadrian Zbarcea
>            Assignee: Willem Jiang
>             Fix For: 2.2.0
>
>
> This is due to the following code in {{Client createClient()}} in {{CxfEnpoint}}
> {code}
>         } else {
>             ObjectHelper.notNull(portName, "Please provide endpoint/port name");
>             ObjectHelper.notNull(serviceName, "Please provide service name");
>             ClientFactoryBean factoryBean = createClientFactoryBean();
> {code}
> When there's only one service/port, we should just use it.

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


Mime
View raw message