You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider refactoring reply producers to use a global, reply-forwarding "proxy" channel [INT-918] #4925
The main idea here would be to move the reply-channel resolution (checking output-channel, then replyChannel header, etc.) into a single global "replyForwardingChannel" that determines where the reply Message should be sent. This might even be useful for resolving error message destinations as well.
This issue will most likely be irrelevant after a few upcoming changes. First, we have already encapsulated this behavior into one well-defined place within the AbstractReplyProducingMessageHandler. After #5236, that should be even cleaner and also used in-common across all handlers that send "reply" Messages as output. Second, when we have methods on the MessagingTemplate that accept the channel names, this will be even more clearly in "the right place" (e.g. messagingTemplate.convertAndSend(String channelName, T object))
This idea is probably no longer relevant with the addition of the channelName resolution in MessagingTemplate and the additional refactoring of AbstractReplyProducingMessageHandler. I'm moving it to RC1 as a placeholder in case there is still any chance this can spark imagination.
Activity
spring-operator commentedon Aug 23, 2010
Mark Fisher commented
This issue will most likely be irrelevant after a few upcoming changes. First, we have already encapsulated this behavior into one well-defined place within the AbstractReplyProducingMessageHandler. After #5236, that should be even cleaner and also used in-common across all handlers that send "reply" Messages as output. Second, when we have methods on the MessagingTemplate that accept the channel names, this will be even more clearly in "the right place" (e.g. messagingTemplate.convertAndSend(String channelName, T object))
spring-operator commentedon Sep 2, 2010
Mark Fisher commented
This idea is probably no longer relevant with the addition of the channelName resolution in MessagingTemplate and the additional refactoring of AbstractReplyProducingMessageHandler. I'm moving it to RC1 as a placeholder in case there is still any chance this can spark imagination.