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

liugang commented on CAMEL-6783:
--------------------------------

May be not a big issue. but the problem is, if you have some customized feature 
interface which extends *Feature* directly, and also some implementation of 
this new feature interface. you can't add the instance of it into the List 
without a Cast operation. if the implementation doesn't extend AbstractFeature, 
then, the cast will be failed.

> getFeatures() method of CxfEndpoint only accept AbstractFeature but Feature
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-6783
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6783
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.12.0
>            Reporter: liugang
>            Priority: Minor
>         Attachments: CAMEL-6783.patch
>
>
> the *getFeatures()* method of *CxfEndpoint* only accept an instance of 
> *AbstractFeature*, but the original *ClientFactoryBean* accept *Feature* 
> instance.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to