Moved MessagingException into the new 'org.springframework.integration.core' package.
This commit is contained in:
@@ -88,7 +88,7 @@ public class DefaultFolderConnection implements Lifecycle, DisposableBean, Folde
|
||||
return this.monitoringStrategy.receive(this.folder);
|
||||
}
|
||||
catch (Exception e) {
|
||||
throw new org.springframework.integration.message.MessagingException(
|
||||
throw new org.springframework.integration.core.MessagingException(
|
||||
"failure occurred while receiving from folder", e);
|
||||
}
|
||||
}
|
||||
@@ -120,7 +120,7 @@ public class DefaultFolderConnection implements Lifecycle, DisposableBean, Folde
|
||||
this.running = true;
|
||||
}
|
||||
catch (MessagingException e) {
|
||||
throw new org.springframework.integration.message.MessagingException(
|
||||
throw new org.springframework.integration.core.MessagingException(
|
||||
"Failed to start FolderConnection", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,10 +23,10 @@ import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.core.MessagingException;
|
||||
import org.springframework.integration.mail.monitor.MonitoringStrategy;
|
||||
import org.springframework.integration.message.MessageBuilder;
|
||||
import org.springframework.integration.message.MessageSource;
|
||||
import org.springframework.integration.message.MessagingException;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,9 +27,9 @@ import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import org.springframework.integration.adapter.MessageMappingException;
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.core.MessagingException;
|
||||
import org.springframework.integration.mail.MailHeaders;
|
||||
import org.springframework.integration.message.MessageBuilder;
|
||||
import org.springframework.integration.message.MessagingException;
|
||||
import org.springframework.integration.transformer.Transformer;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user