I observed the method "sendAndReceive" of class "SimpleMessagingGateway" will set the replyChannel as the return address in request message header. Then it will be a problem when the message is transported to remote address, as the return address in request message header was set as a MessageChannel, which is not a serialiable object. It will throw NonSerializable exception. I think it is a potential bug, how do you think about it?


Reply With Quote