Documentation of response per channel needs to point to output_channel name


after some debugging I found out, that the documentation (Responses) of individual responses per channel needs some fixing:

name() method of your input channel

is not correct. It has to be

name() method of your output channel

Most of the examples will work, because the output channel name equals the input channel name. But I was testing with the ‘rest’ channel. It contains a default output channel (CollectingOutputChannel) which returns ‘collector’ as name. So ‘rest’ is the name of the input channel and ‘collector’ of the output channel. The following will work:

  - channel: collector
    text: Hi, what can I do for you in this rest channel?