INT-1129 moved Message and MessageHeaders from 'core' to the root (org.springframework.integration)
This commit is contained in:
@@ -72,7 +72,7 @@ public class MailSendingMessageHandlerContextTests {
|
||||
@Test
|
||||
public void byteArrayMessage() throws Exception {
|
||||
byte[] payload = {1, 2, 3};
|
||||
org.springframework.integration.core.Message<?> message =
|
||||
org.springframework.integration.Message<?> message =
|
||||
MessageBuilder.withPayload(payload)
|
||||
.setHeader(MailHeaders.ATTACHMENT_FILENAME, "attachment.txt")
|
||||
.setHeader(MailHeaders.TO, MailTestsHelper.TO)
|
||||
|
||||
@@ -71,7 +71,7 @@ public class MailSendingMessageHandlerTests {
|
||||
@Test
|
||||
public void byteArrayMessage() throws Exception {
|
||||
byte[] payload = {1, 2, 3};
|
||||
org.springframework.integration.core.Message<byte[]> message =
|
||||
org.springframework.integration.Message<byte[]> message =
|
||||
MessageBuilder.withPayload(payload)
|
||||
.setHeader(MailHeaders.ATTACHMENT_FILENAME, "attachment.txt")
|
||||
.setHeader(MailHeaders.TO, MailTestsHelper.TO)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
package org.springframework.integration.mail;
|
||||
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.Message;
|
||||
import org.springframework.integration.core.MessageBuilder;
|
||||
import org.springframework.mail.SimpleMailMessage;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.junit.runner.RunWith;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.Message;
|
||||
import org.springframework.integration.core.MessageChannel;
|
||||
import org.springframework.integration.core.MessagingTemplate;
|
||||
import org.springframework.integration.mail.MailHeaders;
|
||||
|
||||
@@ -27,9 +27,9 @@ import org.junit.Test;
|
||||
|
||||
import org.springframework.beans.factory.BeanDefinitionStoreException;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.integration.Message;
|
||||
import org.springframework.integration.context.BeanFactoryChannelResolver;
|
||||
import org.springframework.integration.core.GenericMessage;
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.core.MessageChannel;
|
||||
import org.springframework.integration.core.PollableChannel;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user