You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Grzegorz Grzybek (JIRA)" <ji...@apache.org> on 2015/03/03 10:08:04 UTC

[jira] [Assigned] (CAMEL-8428) Cleanup some core interfaces (Consumer, Producer, EndpointAware)

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

Grzegorz Grzybek reassigned CAMEL-8428:
---------------------------------------

    Assignee: Grzegorz Grzybek

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