I'm not sure I understand here. Those are two different things. 1) the
passed-in channel, 2) the channel that we create and bridge into. I must be
missing the big picture here...


On Thu, Aug 1, 2013 at 2:18 PM, David Turanski <notifications@github.com>wrote:

> In
> spring-xd-dirt/src/main/java/org/springframework/integration/x/channel/registry/LocalChannelRegistry.java:
>
> >  	 */
> >  	public void setConvertWithinTransport(boolean convertWithinTransport) {
> >  		this.convertWithinTransport = convertWithinTransport;
> >  	}
> >
> > +	/**
> > +	 * Set the type of channel to use. This class will try to invoke a no-arg constructor. If more complex setup is
> > +	 * required, consider overriding {@link #createSharedChannel(String, Class)}.
> > +	 */
> > +	public void setChannelType(Class<? extends AbstractMessageChannel> channelType) {
>
> I don't think we need to set the channel type. The user of this class can
> pass any MessageChannel to inbound() and outbound() and the CEFB can handle
> either one.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/SpringSource/spring-xd/pull/171/files#r5527951>
> .
>