Skip to content

Consider refactoring reply producers to use a global, reply-forwarding "proxy" channel [INT-918] #4925

Closed

Description

@spring-operator

Mark Fisher opened INT-918 and commented

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.


Affects: 2.0 M1

Issue Links:

Activity

  1. spring-operator commented on Aug 23, 2010

    @spring-operator
    ContributorAuthor

    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))

  2. spring-operator commented on Sep 2, 2010

    @spring-operator
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: corestatus: declinedtype: refactoring

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions