Merge pull request #539 from ghillert/INT-2656

This commit is contained in:
Gary Russell
2012-07-06 18:33:31 -04:00

View File

@@ -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);