When setting up a reply-producing message handler, I had expected that I could set a reply-channel on the handler itself, which would serve as a "default" reply channel for any message sent to that handler. Then I expected that I could override that "default" by setting the "replyChannel" header on a message. However it turns out that the message header is only checked if the handler has no reply channel. This seems counterintuitive. Is there a reason it's like this? Is there another way to achieve what I'm trying to do? Basically, that's being able to set different reply channels for different messages, but also *not* set a reply channel for some messages and have them go to the "default" channel for the handler (nullChannel, in this case).
Announcement Announcement Module
No announcement yet.
Override a "default" reply-channel Page Title Module
Move Remove Collapse