Rosegarden is able to instantly send incoming MIDI events to some output device and MIDI channel. This feature is known as MIDI Thru.
MIDI Thru is enabled by default in Rosegarden. You may want to globally disable it using the menu option ->, if you prefer to use an external MIDI routing system. There is also a global filter by MIDI event type, which you may use to ignore some event types and let other types to be routed. It is explained in the section MIDI filters.
MIDI Thru routing works quite differently when Rosegarden is playing or stopped than when it is recording.
When Rosegarden is playing or in stopped state, the MIDI thru function routes events to the selected track instrument. The selected track has its track name highlighted.
When Rosegarden is recording, the MIDI events are routed to the armed track instruments, based on the recording filters. It doesn't matter which track is selected. Only one instrument is selected for each event, corresponding to the first track with a matching record filter.