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
expose setOutputChannel via interface on MessageHandlerChain and AbstractReplyProducingMessageHandler to allow for JDK proxy on MessageHandler [INT-975] #4985
currently applying a JDK proxy to MessageHandler causes MessageHandlerChain.configureChain()
to throw an exception because it is using PropertyAccessor/BeanWrapperImpl on the "outputChannel" property which fails on the proxy since setOutputChannel isn't exposed via interface.
i also have a use case where i am "manually" stitching together chains and service activators and i need proxy friendly access to set the output channel.
suggest something like:
public interface MessageProducer
{
public void setOutputChannel(MessageChannel outputChannel);
}
Activity
spring-operator commentedon Mar 9, 2010
Mark Fisher commented
MessageHandler implementations that are capable of producing messages to be sent on an output channel now implement the MessageProducer interface.