@@ -0,0 +1,1362 @@
+package org.amc.game.chessserver;%0A%0Aimport org.amc.game.chess.Location;%0Aimport org.amc.game.chess.Move;%0Aimport org.amc.game.chess.ChessBoard.Coordinate;%0Aimport org.apache.log4j.Logger;%0A%0Aimport org.springframework.messaging.Message;%0Aimport org.springframework.messaging.converter.SimpleMessageConverter;%0Aimport org.springframework.stereotype.Component;%0A%0A@Component%0Apublic class MoveConverter extends SimpleMessageConverter %7B%0A%0A    %0A    private static final Logger logger = Logger.getLogger(MoveConverter.class);%0A    public MoveConverter()%7B%0A        super();%0A        logger.info(%22=====================MoveConverter====================================%22);%0A    %7D%0A    %0A    @Override%0A    public Object fromMessage(Message%3C?%3E message, Class%3C?%3E targetClass) %7B%0A        if(targetClass.equals(Move.class))%7B%0A            String moveString =new String((byte%5B%5D)message.getPayload());%0A            String%5B%5D locations=moveString.split(%22-%22);%0A            return new Move(new Location(Coordinate.valueOf(locations%5B0%5D.substring(0,1)),%0A                            Integer.parseInt(locations%5B0%5D.substring(1,2))), %0A                            new Location(Coordinate.valueOf(locations%5B1%5D.substring(0,1)),%0A                                            Integer.parseInt(locations%5B1%5D.substring(1,2))));%0A        %7Delse%7B%0A            return super.fromMessage(message, targetClass);%0A        %7D%0A    %7D%0A%7D%0A

add Message conversion (MoveConverter)