diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/mail/SimpleMailMessageItemWriter.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/mail/SimpleMailMessageItemWriter.java index 08130d752..5fe783458 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/mail/SimpleMailMessageItemWriter.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/mail/SimpleMailMessageItemWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2006-2010 the original author or authors. + * Copyright 2006-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,24 +35,24 @@ import org.springframework.util.Assert; * transactional, failures should be dealt with here if possible rather than * allowing them to be rethrown (which is the default). *
- * + * ** Delegates the actual sending of messages to a {@link MailSender}, using the * batch method {@link MailSender#send(SimpleMailMessage[])}, which normally * uses a single server connection for the whole batch (depending on the - * implementation). The efficiency of for large volumes of messages (repeated + * implementation). The efficiency for large volumes of messages (repeated * calls to the item writer) might be improved by the use of a special * {@link MailSender} that caches connections to the server in between calls. *
- * + * ** Stateless, so automatically restartable. *
- * + * * @author Dave Syer - * + * * @since 2.1 - * + * */ public class SimpleMailMessageItemWriter implements ItemWriter