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

Grzegorz Grzybek resolved CAMEL-8428.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.15.0

> Cleanup some core interfaces (Consumer, Producer, EndpointAware)
> ----------------------------------------------------------------
>
>                 Key: CAMEL-8428
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8428
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.15.0
>            Reporter: Grzegorz Grzybek
>            Assignee: Grzegorz Grzybek
>            Priority: Minor
>             Fix For: 2.15.0
>
>
> {{org.apache.camel.Consumer}} and {{org.apache.camel.Producer}} interfaces 
> contain this method:
> * {{Endpoint getEndpoint()}}
> But there's also {{org.apache.camel.EndpointAware}} for that purpose.
> Producer extends it (so it's own "getEndpoint()" is duplicate). Consumer 
> could extend this interface too.
> So, I think we could:
> * remove {{getEndpoint}} from both Customer and Producer interfaces
> * change Consumer to extend EndpointAware
> from dev's POV the only (OO) change would be that Customer will become 
> "endpoint aware"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to