Removed MailMessageMappers. MailMessageSendingConsumer now handles any MailMessage payload or byte array payload. For all other payload types, it calls 'toString' to generate the Mail text.
This commit is contained in:
@@ -87,7 +87,7 @@ public abstract class AbstractMessageHandlingEndpoint extends AbstractMessageCon
|
||||
if (result == null) {
|
||||
if (this.requiresReply) {
|
||||
throw new MessageHandlingException(message, "endpoint '" + this.getName()
|
||||
+ " requires a reply, but no reply was received");
|
||||
+ "' requires a reply, but no reply was received");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user