BasicMessageChannel<T> constructor

const BasicMessageChannel<T>(String name, MessageCodec<T> codec)

Creates a BasicMessageChannel with the specified name and codec.

Neither name nor codec may be null.

Implementation

const BasicMessageChannel(this.name, this.codec);