INT-2656 - Fix Mail Adapter Exceptions
For reference see: https://jira.springsource.org/browse/INT-2656
This commit is contained in:
@@ -180,6 +180,7 @@ public abstract class AbstractMailReceiver extends IntegrationObjectSupport impl
|
||||
!mailReceiverContext.getFolder().isOpen()) {
|
||||
try {
|
||||
this.openFolder();
|
||||
return this.contextHolder.get();
|
||||
}
|
||||
catch (MessagingException e) {
|
||||
throw new org.springframework.integration.MessagingException("Failed to open folder", e);
|
||||
|
||||
Reference in New Issue
Block a user