Yet they provide methods that have the same semantics. Composing via a
third interface makes the relation clear and prevents asymetrical changes
in the future.
As they are, method in consumer and producer may evolve differently, and I
don't think that's our expectation
On Nov 11, 2013 9:41 AM, "Mariano Gonzalez" <notifications@github.com>
wrote:

> In core/src/main/java/org/mule/streaming/Consumer.java:
>
> > @@ -16,7 +16,7 @@
> >   * interface does not guarantee thread safeness. Check each particular implementation
> >   * for information about that
> >   */
> > -public interface Consumer<T> extends Closeable, ProvidesTotalHint
>
> as you say Consumer and Producer are internal interfaces. The value comes
> from having ConsumerIterator implementing it
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mulesoft/mule/pull/177/files#r7566461>
> .
>