INT-842 moved MessageMappingException from 'adapter' module to core 'message' package
This commit is contained in:
@@ -18,11 +18,11 @@ package org.springframework.integration.ip.tcp;
|
||||
import java.net.Socket;
|
||||
import java.net.SocketException;
|
||||
|
||||
import org.springframework.integration.adapter.MessageMappingException;
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.ip.AbstractInternetProtocolSendingMessageHandler;
|
||||
import org.springframework.integration.message.MessageDeliveryException;
|
||||
import org.springframework.integration.message.MessageHandlingException;
|
||||
import org.springframework.integration.message.MessageMappingException;
|
||||
import org.springframework.integration.message.MessageRejectedException;
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,7 +23,8 @@ import java.nio.ByteBuffer;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.integration.adapter.MessageMappingException;
|
||||
|
||||
import org.springframework.integration.message.MessageMappingException;
|
||||
|
||||
/**
|
||||
* A SocketReader that reads from a {@link java.net.Socket}. Threads
|
||||
|
||||
@@ -23,7 +23,8 @@ import java.nio.channels.SocketChannel;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.integration.adapter.MessageMappingException;
|
||||
|
||||
import org.springframework.integration.message.MessageMappingException;
|
||||
|
||||
/**
|
||||
* A non-blocking SocketReader that reads from a {@link java.nio.channels.SocketChannel}.
|
||||
|
||||
@@ -20,9 +20,9 @@ import java.net.Socket;
|
||||
import java.net.SocketException;
|
||||
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.integration.adapter.MessageMappingException;
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.gateway.AbstractMessagingGateway;
|
||||
import org.springframework.integration.message.MessageMappingException;
|
||||
|
||||
/**
|
||||
* Simple implementation of a TCP/IP inbound gateway; uses {@link java.net.Socket}
|
||||
|
||||
@@ -23,8 +23,8 @@ import java.net.Socket;
|
||||
import javax.net.ServerSocketFactory;
|
||||
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.integration.adapter.MessageMappingException;
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.message.MessageMappingException;
|
||||
|
||||
/**
|
||||
* Tcp Receiving Channel adapter that uses a {@link java.net.Socket}. Each
|
||||
|
||||
@@ -23,7 +23,6 @@ import java.util.UUID;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.springframework.integration.adapter.MessageMappingException;
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.core.MessageHeaders;
|
||||
import org.springframework.integration.ip.IpHeaders;
|
||||
@@ -31,6 +30,7 @@ import org.springframework.integration.ip.util.RegexUtils;
|
||||
import org.springframework.integration.message.InboundMessageMapper;
|
||||
import org.springframework.integration.message.MessageBuilder;
|
||||
import org.springframework.integration.message.MessageHandlingException;
|
||||
import org.springframework.integration.message.MessageMappingException;
|
||||
import org.springframework.integration.message.OutboundMessageMapper;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
@@ -26,11 +26,11 @@ import java.nio.ByteBuffer;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.integration.adapter.MessageMappingException;
|
||||
import org.springframework.integration.core.Message;
|
||||
import org.springframework.integration.ip.IpHeaders;
|
||||
import org.springframework.integration.ip.udp.DatagramPacketMessageMapper;
|
||||
import org.springframework.integration.message.MessageBuilder;
|
||||
import org.springframework.integration.message.MessageMappingException;
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
|
||||
Reference in New Issue
Block a user